LDAP authentication - search depth

This is a discussion on LDAP authentication - search depth within the Apache forums in Application Servers & Tools category; 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 ...

Go Back   Application Development Forum > Application Servers & Tools > Apache

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 09-17-2008, 11:29 AM
parminder gupta
Guest
 
Default LDAP authentication - search depth

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@example.com"
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 08:25 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.