[Koha] LDAP auth and Active Directory
LAURENT Henri-Damien
henridamien.laurent at biblibre.com
Wed Sep 16 04:59:03 NZST 2009
Nijnatten, Jan van a écrit :
> Hi Joe,
>
> Thanks for the suggestion, but I'm still stuck:
>
>
> My auth_with_ldap.pm is probably before June 30th (3.00.02.12), so I patched it.
> Tried the principal_name tag with the correct domain but then the logging states:
>
> [Tue Sep 15 17:31:31 2009] [error] [client 130.145.169.252] [Tue Sep 15 17:31:31 2009] opac-user.pl: Can't call method "exists" on an undefined value at /home/koha/source/C4/Auth_with_ldap.pm line 168, <DATA> line 253., referer: http://130.145.169.217/cgi-bin/koha/opac-main.pl
>
> If i don't patch auth_with_ldap.pm and don't use principal_name I'm getting:
>
> [Tue Sep 15 17:43:56 2009] [error] [client 130.145.169.252] [Tue Sep 15 17:43:56 2009] opac-user.pl: LDAP Auth rejected : invalid password for user 'nlv04101'. LDAP error #16: LDAP_NO_SUCH_ATTRIBUTE, referer: http://130.145.169.217/cgi-bin/koha/opac-user.pl
>
> I've tried binding and no binding....
>
> I can search my ldap server; I have the feeling the userPassword entry doesn't exist ... but how do I check?
> Any idea how I can proceed?
>
> best regards,
> Jan
>
> ________________________________________
>
Hi Jan,
I am sending right now a patch accounting for such a problem.
It happens that when auth_by_bind, the search object was never
retrieved, so that things where a little confused.
Regards
--
Henri-Damien LAURENT
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Bug-Fixing-Auth_with_LDAP.patch
Type: text/x-patch
Size: 0 bytes
Desc: not available
Url : http://lists.katipo.co.nz/pipermail/koha/attachments/20090915/d889679f/attachment-0001.bin
More information about the Koha
mailing list