LDAP authentication - search depth

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

 



Hello,

I am trying to get my Apache/Subversion server running on Linux
authenticate users on Windows Active Directory using LDAP. Server
information is as below:
Apache: 2.2.3
Subversion: 1.5.1
Linux: CentOS 5.2 (kernel 2.6.18-92.1.10.el5)


The LDAP structure of my company looks like below:
DC=example,DC=com
|
|--OU=Location1
|		|
|		|--OU=Everyone in Location1
|
|--OU=Location2
|		|
|		|--OU=Everyone in Location2
|
|--OU=Location3
|		|
|		|--OU=Everyone in Location3

This the relavant part of my config file:
<Location /svn>
        DAV svn
        SVNListParentPath on
        SVNParentPath /var/www/subversion/
        AuthBasicProvider ldap
        AuthType Basic
        AuthzLDAPAuthoritative off
        AuthName "CIS Subversion Server"
        AuthLDAPURL
"ldap://ldap-server/ou=Location1,dc=example,dc=com?sAMAccountName?sub?(objectClass=*)"
NONE
        AuthLDAPBindDN "user@xxxxxxxxxxx"
        AuthLDAPBindPassword "secretpassword"
        require valid-user
        Allow from all
</Location>

I can authenticate users when I specify:
AuthLDAPURL "ldap://ldap-server/ou=Location1,dc=example,dc=com?sAMAccountName?sub?(objectClass=*)"
NONE

But cannot when I do this:
AuthLDAPURL "ldap://ldap-server/dc=example,dc=com?sAMAccountName?sub?(objectClass=*)"
NONE

Is there a certain depth in LDAP tree beyond which mod_authnz_ldap
will not search? Any help is greatly appreciated.

Thanks,
Parminder

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