simple-ldap-login
simple-ldap-login copied to clipboard
Cannot authenticate users in different OUs against parent DN
Steps to reproduce:
-
Create the following DNs in an OpenLDAP directory:
- DN: uid=usera,ou=sub1,dc=example,dc=com
- DN: uid=userb,ou=sub2,dc=example,dc=com
-
Set the following Simple LDAP Login settings:
- Base DN: dc=example,dc=com
- Search Sub OUs: Yes
-
Attempt to log in as
usera
, then asuserb
What should happen:
Login is successful for both users.
What happens instead:
Login fails for both users.
Notes:
- If I set "Base DN" to "ou=sub1,dc=example,dc=com", then
usera
can log in. - If I set it to "ou=sub2...", then
userb
can log in.