From: Gary Ashton-J. <gas...@f2...> - 2001-02-09 00:40:28
|
I haven't fixed the problem but I have identified the circumstances which cause Net::LDAP::bind to always fail under Apache. I accidentally left a PerlAuthenHandler Apache::AuthNetLDAP in one <Location> while testing my variation of AuthTicket which uses NetLDAP in another <Location>. Calls to bind were always failing. Eventually I realised the clash, commented out the AuthNetLDAP call and it works beautifully. Thanks Graham Barr for the patch to ASN1.pm which stops the method redefinition warnings but I think now the patch might be better left out. They were obviously correct warnings because Net::LDAP was being called twice and I should have been willing to look further. OTOH maybe Net::LDAP needs to handle(!) being called by two different handlers... Rgds Gary |