Skip to content

ldap.search.group.principle Issue #11570

Description

@scottsignal

problem

ldap.search.group.principle by default is NULL in the database. If you enter a value and then make it blank, it just results in a blank field in the database. LDAP just ends up searching a blank value.

In the logs you will see this entry:
2025-08-20 10:39:56,759 DEBUG o.a.c.l.OpenLdapUserManagerImpl (qtp364604394-3267:ctx-e080a1e5) (logid:9d1297c5) adding search filter for '', using 'memberof'

versions

4.20.1

The steps to reproduce the bug

  1. Put a value in ldap.search.group.principle
  2. Remove the value in ldap.search.group.principle Note: Do not click reset to default
  3. Attempt LDAP login and review the logs
    ...

What to do about it?

LDAP should treat a blank value the same as a NULL Value.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions