Re: [Koha-devel] Ldap Authentication error

2015-02-19 Thread Bobby
Turns out I was missing this in my koha ldap configuration uid=%s,ou=users,dc=xx,dc=yy Ldap authentication now works On 19/02/2015 21:40, mourik jan heupink - merit wrote: What ldap server are you using? We have always authenticated using auth_by_bind and never by comparing a password. Both

Re: [Koha-devel] Ldap Authentication error

2015-02-19 Thread Bobby
Thanks MJ, I have tried both auth by bind and by comparing password.. non of them work. Interestingly the older ldap 3.8 works and authenticate against the same ldap using the same ldap configuration as 3.16 and works without problem.. am starting to think this might have been a bug which affec

Re: [Koha-devel] Ldap Authentication error

2015-02-19 Thread mourik jan heupink - merit
What ldap server are you using? We have always authenticated using auth_by_bind and never by comparing a password. Both in our openldap days, and now in our samba4 AD days. In fact... I'd be surprised if many people actually use the 'compare password' way. Perhaps you could try that? MJ O

Re: [Koha-devel] Ldap Authentication error

2015-02-19 Thread Bobby
I have tried but admin user bind and anonymous user bind.. non seem to work. .. now with admin user bind here is the error I get LDAP Auth rejected : invalid password for user 'foo'. LDAP error #5: LDAP_COMPARE_FALSE # This code is returned when a compare request completes and the attribute va

Re: [Koha-devel] Ldap Authentication error

2015-02-19 Thread Michael Hafen
Is you're ldap server allowing anonymous bind and search? You don't have a or in the config, so Koha will try to do an anonymous bind and search to find the user by their uid. I expect you're ldap server isn't allowing anonymous bind and search, since I would never allow that on my server if I

Re: [Koha-devel] Ldap Authentication error

2015-02-19 Thread Bobby
One thing which is not quite clear from the documentations am reading is where the location for the /koha-conf.xml file should be.. most docs say it should be in /etc/koha .. however when I checked my debian koha install the file is located at /etc/koha/sites/library/ (which is where I inputted

Re: [Koha-devel] Ldap Authentication error

2015-02-19 Thread Bobby
Which is weird. That is the right base dn for users.. same DN works with dspace on same ldap server and authentication works on that smoothly. Is there a way I can see logs on how koha tries to bind with ldap? i.e the entries it sends to bind with the ldap server.. maybe that might be a good st

Re: [Koha-devel] Ldap Authentication error

2015-02-19 Thread Mark Tompsett
Greetings, however when I do a: perl opac-user.pl userid=foo password=passwd > /tmp/junk.txt I get this error: perl opac-user.pl userid=foo password=passwd > /tmp/junk.txt LDAP bind failed as kohauser foo: LDAP error #34: LDAP_INVALID_DN_SYNTAX # The request contained an invalid DN ou

[Koha-devel] Ldap Authentication error

2015-02-19 Thread Bobby
Hi guys .. am running koha 3.16 (using debian 7 packages) however I am unable to get ldap authentication working I have setup the ldap paremeters in /etc/koha/site/opac/koha-conf.xml 1 localhost ou=People,dc=example,dc=edu,dc=ng 0 1 1