Re: [Dspace-tech] enabling ldap authentication causes java.lang.NullPointerException login error

2013-06-26 Thread Hilton Gibson
Perhaps this will help: http://wiki.lib.sun.ac.za/index.php/SUNScholar/User_Management On 26 June 2013 09:53, Bobby wrote: > 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 = tru

Re: [Dspace-tech] enabling ldap authentication causes java.lang.NullPointerException login error

2013-06-26 Thread Bobby
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 =

Re: [Dspace-tech] enabling ldap authentication causes java.lang.NullPointerException login error

2013-06-24 Thread helix84
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/LDAPAut

Re: [Dspace-tech] enabling ldap authentication causes java.lang.NullPointerException login error

2013-06-24 Thread Bobby
I guess the best thing is to file a bug. I have complied with everything stated in the documentation concerning enabling ldap authentication with dspace still I get errors when I try login in. There seem to be a bug with the ldap module in dspace 3.1 it would seem On 21/06/2013 15:02, Bobby wro