Re: auth LDAP issue, help

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

 



On Wed, 30 May 2007, Tony Guadagno wrote:

> 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]
>
I'll assume you are using httpd 2.2.x

Not sure about all of your issues but to use "require valid-user" you
need:

AuthzLDAPAuthoritative Off

----------------------------------------
"Mon aéroglisseur est plein d'anguilles"
John P. Dodge
Boeing Shared Services


---------------------------------------------------------------------
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