When having more than one LDAP settings, only the first LDAP settings are taking effect in Artifactory.
Steps to reproduce:
- Create new LDAP settings and set the Search Base to ou=users-A (disable Auto Create Artifactory Users).
- Create second LDAP settings and set the Search Base to ou=users-B (disable Auto Create Artifactory Users).
- Notice that users from both OUs can login.
- Restart Artifactory.
- Notice that only users from OU “users-A” can login but users from the OU “users-B” cannot login.
**Changing the configuration (for reloading) will resolve this until the next restart.