DSpace/DSpace — pull request #19 by ottenhoff (2012-05-29 19:55:50+00:00)
Title: [DS-1180] build the DN manually instead of attempting to search with the...

Before attempting a user authentication, LDAPHierarchicalAuthentication attempts to lookup the user's DN using an adminUser and adminPassword. This is unnecessary if all users from an institution are in the same LDAP container, e.g.,:

uid=sam,ou=Users,dc=example,dc=edu

The necessary variables for building the DN manually are already in authentication-ldap.cfg. This patch attempts to build the DN manually *if* the adminUser is empty.