Thanks, uncommenting the seach scope with 2 as an entry did stop the error. But I am still unable to login
When I try logging in using this config enable = true autoregister = false provider_url = ldap://192.168.0.1:389/ id_field = uid object_context = ou=People,dc=mmp,=ami-net search_context = ou=People,dc=mmp,o=ami-net surname_field = sn search_scope = 2 search.anonymous = true I get the following error * The user name and/or password supplied were not valid. Although I am unable to get any output from dspace logs or catalina log Would really appreciate if anyone could point me to what I could be doing wrong and at least how I can increase the debug on what happens when an ldap user tries to login Best regards On 24/06/2013 17:27, helix84 wrote: > Hi Bobby, > > the problem is that while you enabled hierarchical LDAP > (bind/search/bind), you didn't uncomment any search_scope property. > Using the default search_scope = 2 is fine in most cases. > > https://github.com/DSpace/DSpace/blob/dspace-3.1/dspace-api/src/main/java/org/dspace/authenticate/LDAPAuthentication.java#L391 > > Also, please note that you included your password in search.password > in the authentication-ldap.cfg file you attached to this email. Since > this is a public mailing list, please make sure you change your > password. > > > Regards, > ~~helix84 > > Compulsory reading: DSpace Mailing List Etiquette > https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

