auth LDAP issue, help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
tonyg@xxxxxxxxxxxx
585.703.6700
***********************************************

BEGIN:VCARD
VERSION:2.1
X-GWTYPE:USER
FN:Tony Guadagno
EMAIL;WORK;PREF;NGW:tonyg@xxxxxxxxxxxx
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: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux