simple-ldap-login icon indicating copy to clipboard operation
simple-ldap-login copied to clipboard

Cannot authenticate users in different OUs against parent DN

Open lofidevops opened this issue 7 years ago • 0 comments

Steps to reproduce:

  1. 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
  2. Set the following Simple LDAP Login settings:

    • Base DN: dc=example,dc=com
    • Search Sub OUs: Yes
  3. Attempt to log in as usera, then as userb

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.

lofidevops avatar Sep 26 '17 14:09 lofidevops