Hi, I finally made mod_auth_ldap work.
First, basic authentication: AuthName auth AuthType Basic Then, disable Basic authoritative to let the Authorization continue to mod_auth_ldap. AuthBASICAuthoritative Off Then my LDAP Config Maybe this documentation about AuthBasicAuthoritative directive, should be added by a link in mod_auth_ldap documentation. Regards, Estrade Matthieu -----Message d'origine----- De�: Thomas Bennett [mailto:thomas.bennett@;eds.com] Envoy�: Wednesday, October 23, 2002 9:43 PM ��: Estrade Matthieu Objet�: Re: mod_auth_ldap On Thu, 24 Oct 2002 04:33, Estrade Matthieu wrote: > Hi, > > I am using apache 2.0 + proxy + mod_auth_ldap > > i have this error in my log: > > [Wed Oct 23 17:35:59 2002] [error] [client 192.168.100.1] (9)Bad file > descriptor: Could not open password file: (null) > and return an error 500 Add AuthLDAPAuthoritative on to stop it from trying another authentication type when ldap fails. > > this is my vhost auth conf: > > <Location /> > AuthName test > AuthType basic > AuthLDAPEnabled On > AuthLDAPUrl ldap://192.168.100.2:389/cn=backoffice,dc=company,dc=com?uid > Require valid-user > </Location> > > when i do this query, with anonymous login, directly on ldap server, > it's working I suggest you look closely at your basedn: cn=backoffice,dc=company,dc=com I simply use o=EDS but of course our sever might be set up differently. Regards Thomas Bennett ___________________________________________________________________ Haut D�bit: Modem offert soit 150,92 euros rembours�s sur le Pack eXtense de Wanadoo ! Profitez du Haut D�bit � partir de 30 euros/mois : http://www.ifrance.com/_reloc/w
