[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: LDAP + Apache + Error validating users



Ok I try your suggestion.
Eventhough I have openssl I don´t configure apacheto use it yet.

So I comment the line in  httpd.conf where /etc/httpd/passwd appears and now
I have another error.
Apache try to comunnicate qwith ldap but I always get the error:
Could not bind to LDAP server `cerbero.cgn' as (null): Protocol error

It 's look like the credentials are not passes to ldap.....
Any ideas ???????
May be an auth_ldap bug?


----- Original Message -----
From: "Daniel Amthor" <da@lonx.net>
To: "Fernando Padilla" <fpadilla@adinet.com.uy>;
<openldap-software@OpenLDAP.org>
Sent: Friday, February 21, 2003 11:59 AM
Subject: Re: LDAP + Apache + Error validating users


Hi Fernando

have you got openssl installed as well. I seem to remember a conflict
between
openssl and authldap...Otherwise, have searched your apache-configfiles for
the string "/etc/httpd/passwd" ?

HTH
Dan

Am Donnerstag, 20. Februar 2003 15:07 schrieb Fernando Padilla:
> I install Openldap + Apache
>
> rcapache starts but when I try to validate a LDAP user, the user NEVER
> validates....
>
> In the error log I have :
>
> [Thu Feb 20 09:56:51 2003] [error] [client 192.168.6.83] (2)No such file
or
> directory: Could not open password file: /etc/httpd/passwd
> [Thu Feb 20 09:56:51 2003] [error] [client 192.168.6.83] user fernando not
> found: /manual
>
> ¿My question is?
> Why is trying to open the file /etc/httpd/passwd, how should I correct
> this??????????????????
>
> Aditional information:
>
>  httpd.conf :
> <Location /manual>
>         AuthType Basic
>         AuthName "pruebas"
>         Order deny,allow
>         Allow from all
>         AuthLDAPEnabled on
>         AuthLDAPURL ldap://cerbero.cgn:389/o=mefldap?uid
>         AuthLDAPAuthoritative off
>         AuthLDAPCompareDNOnServer on
>         AuthLDAPRemoteUserIsDN on
>         AuthLDAPGroupAttributeIsDN on
>         require valid-user
> </Location>
>
> The user fernando exists in LDAP.
>
> Versions:
>
> authldap-1.6.0-368
> openldap2-2.1.4-26
> apache-1.3.26-39
>
>
> Thanks,
> Fernando

--

lonx.net                        -----             linux kompetenz
Daniel Amthor                                 t: 06173-935960
Im Brühl 10                                     f: 06173-935959
61476 Kronberg                               e: da@lonx.net