Hi,
  I am trying to get ldap auth working, what am i doing wrong?

this is my config
        <Directory "d:/websites/ldaptest">
                AuthType basic
                AuthBasicProvider ldap
                AuthName "LdapTest"
                AuthLDAPURL ldap://ldap.com/o=somewhere?cn?sub
                AuthLDAPBindDN cn=admin,o=somewhere
                AuthLDAPBindPassword pw
                AllowOverride None
                Order allow,deny
                Allow from 172.30
                Allow from 10.1
                require valid-user
        </Directory>

when i hit the url, i am asked to login, when i do, it asks me again.  it fails 
after 3 times and here is what is in the apache log

[Wed May 30 22:25:19 2007] [warn] [client 10.1.1.4] [2692] auth_ldap 
authenticate: user  authentication failed; URI / [ldap_search_ext_s() for user 
failed][Filter Error]

here is what the ldap server  (Novell Netware 6.5sp6) see's:



New cleartext connection 0x560b9c40 from 172.30.0.20:1998, monitor = 0x131, 
index = 2
DoBind on connection 0x560b9c40
Bind name:cn=admin,o=somewhere, version:3, authentication:simple
Sending operation result 0:"":"" to connection 0x560b9c40
Operation 0x1:0x60 on connection 0x560b9c40 completed in 0 seconds
DoSearch on connection 0x560b9c40
Search request:
        base: "o=somewhere"
        scope:2  dereference:3  sizelimit:-1  timelimit:0  attrsonly:0
        filter: "(&(objectclass=*)(cn=tonyg))"
        attribute: "cn"
Sending search result entry "cn=TonyG,o=somewhere" to connection 0x560b9c40
Sending operation result 0:"":"" to connection 0x560b9c40
Operation 0x2:0x63 on connection 0x560b9c40 completed in 0 seconds
DoBind on connection 0x560b9c40
Bind name:cn=TonyG,o=somewhere, version:3, authentication:simple
Sending operation result 0:"":"" to connection 0x560b9c40
Operation 0x3:0x60 on connection 0x560b9c40 completed in 0 seconds


***********************************************
Tony Guadagno
Guadagno Consulting
[EMAIL PROTECTED] 
585.703.6700
***********************************************

BEGIN:VCARD
VERSION:2.1
X-GWTYPE:USER
FN:Tony Guadagno
EMAIL;WORK;PREF;NGW:[EMAIL PROTECTED]
N:Guadagno;Tony
END:VCARD


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to