You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Chris <at...@gmail.com> on 2008/03/25 02:39:50 UTC

[users@httpd] .htaccess and LDAP dilemma - 2 OUs

Currently in my Apache I am authenticating users against one OU
(ou=staff), I need to add another OU (ou=clients) and not sure how to
do that in my .htaccess file. Here is my current .htaccess file:

AuthName "Restricted Area"
AuthType Basic

LDAP_Server activedirectory.vantrix.com
LDAP_Port 389
Base_DN "ou=staff,dc=activedirectory,dc=vantrix,dc=com"
UID_Attr samaccountname
require valid-user

I tried adding another Bade_DN
(ou=clients,dc=activedirectory,dc=vantrix,dc=com) but that didn't
work. I also tried changing LDAP_Port to 3268 and Base_DN to
"dc=activedirectory,dc=vantrix,dc=com?cn" - that didn't work too.

Any help on this would be much appreciated. Thanks.

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