OPenLDAP + Apache 2.2 User validation

I configure Apache 2.2 to validate users in OPenLDAP but I allways getting the following error:
 [Thu Aug 02 16:29:43 2007] [notice] Digest: generating secret for digest authentication ...
[Thu Aug 02 16:29:43 2007] [notice] Digest: done
[Thu Aug 02 16:29:43 2007] [notice] Apache/2.2.0 (Linux/SUSE) configured -- resuming normal operations
[Thu Aug 02 16:29:49 2007] [warn] [client 10.0.128.115] [15032] auth_ldap authenticate: user anduvo1 authentication failed; URI /cgn/form.html [LDAP: ldap_simple_bind_s() failed][Invalid credentials]
[Thu Aug 02 16:29:49 2007] [error] [client 10.0.128.115] user anduvo1: authentication failure for "/cgn/form.html": Password Mismatch
[Thu Aug 02 16:29:55 2007] [warn] [client 10.0.128.115] [15032] auth_ldap authenticate: user anduvo1 authentication failed; URI /cgn/form.html [LDAP: ldap_simple_bind_s() failed][Invalid credentials]
[Thu Aug 02 16:29:55 2007] [error] [client 10.0.128.115] user anduvo1: authentication failure for "/cgn/form.html": Password Mismatch          


THE password I'am sure is find the user is : anduvo1 Any ideas what could be wrong?????

My httpd.conf:

<Directory /srv/www/htdocs/cgn>
AuthLDAPUrl ldap://x306m02/ou=apacheusr,dc=cgn,dc=gub,dc=uy?uid
AuthLDAPBindDN "uid=root,dc=cgn,dc=gub,dc=uy"
AuthLDAPBindPassword ntb1eby3
AuthBasicProvider ldap
Options Indexes FollowSymLinks
AuthzLDAPAuthoritative Off
Require valid-user
#Require ldap-user
AuthType Basic
AuthName "LDAP"
</Directory>    


Thanks
Pampa00Asked:
Who is Participating?
 
linux2000inCommented:
HI Pampa00,

I have 2 suggestion for you.

1 ) do this changes and restart apache !!! and test again

AuthType Basic
AuthBasicProvider ldap
AuthName "Case Network ID"
AuthzLDAPAuthoritative off
AuthLDAPBindDN "uid=root,dc=cgn,dc=gub,dc=uy"
AuthLDAPBindPassword ntb1eby3
Require valid-user
</Location>


2 ) Start your LDAP with in Debug mode and do step 1 again you will get why it doesn't authenticate ??


Regards
linux2000in

~~~ Gujarat Linux User Group ~~~
www.linux-gujarat.co.in
0
 
Computer101Commented:
Forced accept.

Computer101
EE Admin
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.