You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Estrade Matthieu <es...@ifrance.com> on 2002/10/23 17:33:26 UTC

mod_auth_ldap

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

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

if somebody have ideas

regards

Estrade Matthieu

___________________________________________________________________
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


Re: mod_auth_ldap

Posted by "John K. Sterling" <jo...@sterls.com>.
>-- Original Message --
>Reply-To: dev@httpd.apache.org
>Date: Wed, 23 Oct 2002 18:07:30 +0200
>From: Estrade Matthieu <es...@ifrance.com>
>To:  dev@httpd.apache.org
>Subject: Re: mod_auth_ldap
>
>
>John K. Sterling wrote:
>
>>try disabling mod_auth.
>>
>>sterling
>>  
>>
>i deleted AuthName
>and AuthType and this is what i get:


no no no, auth name and auth type are core apache directives.  I meant to
disable mod_auth (either by not loading it, not building it in, or by turning
AuthAuthoritative off).  This is probably a better topic for the users list,
not the developers list (users@httpd.apache.org)

sterling


Re: mod_auth_ldap

Posted by Estrade Matthieu <es...@ifrance.com>.
John K. Sterling wrote:

>try disabling mod_auth.
>
>sterling
>  
>
i deleted AuthName
and AuthType and this is what i get:

Wed Oct 23 18:10:17 2002] [debug] mod_auth_ldap.c(261): [client 
192.168.100.1] [8263] auth_ldap authenticate: using URL 
ldap://192.168.100.2:389/cn=backoffice,dc=company,dc=com?uid

[Wed Oct 23 18:10:17 2002] [debug] mod_auth_ldap.c(266): [client 
192.168.100.1] [8263] auth_ldap authenticate: ap_get_basic_auth_pw() 
returns -1

[Wed Oct 23 18:10:17 2002] [crit] [client 192.168.100.1] configuration 
error:  couldn't perform authentication. AuthType not set!: /

>  
>
>>-- Original Message --
>>Reply-To: dev@httpd.apache.org
>>Date: Wed, 23 Oct 2002 17:33:26 +0200
>>From: Estrade Matthieu <es...@ifrance.com>
>>To:  dev@httpd.apache.org
>>Subject: mod_auth_ldap
>>
>>
>>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
>>
>>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
>>
>>if somebody have ideas
>>
>>regards
>>
>>Estrade Matthieu
>>
>>___________________________________________________________________
>>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
>>
>>    
>>
>
>
>___________________________________________________________________
>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
>
>  
>



RE: mod_auth_ldap

Posted by "John K. Sterling" <jo...@sterls.com>.
try disabling mod_auth.

sterling

>-- Original Message --
>Reply-To: dev@httpd.apache.org
>Date: Wed, 23 Oct 2002 17:33:26 +0200
>From: Estrade Matthieu <es...@ifrance.com>
>To:  dev@httpd.apache.org
>Subject: mod_auth_ldap
>
>
>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
>
>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
>
>if somebody have ideas
>
>regards
>
>Estrade Matthieu
>
>___________________________________________________________________
>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
>