httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Förster <david.foers...@andrena.de>
Subject [users@httpd] Exclude subdirectory from LDAP Authentication
Date Thu, 01 Jan 2009 21:18:53 GMT
Hi there,

I configured a virtual host to authenticate users via ldap, which works fine.
Now I want to exclude a subdirectory from that, so it's accessible without any
authentication.

I did this before with normal file based authentication but with ldap I can't
get it working, no matter what I try. Any access to the excluded subdirectory
is still prompted with a 401 response and logged like this: 

[Thu Jan 01 22:12:38 2009] [warn] [client 10.0.1.42] [21471] auth_ldap authenticate: user
xxxxx authentication failed; URI /web/ [User not found][No such object]
[Thu Jan 01 22:12:38 2009] [error] [client 10.0.1.42] user xxxxx not found: /web/

Any help how to get this working is appreciated!

  - David


Configuration within the virtual host:

        <Location />
                SSLRequireSSL

                AuthType Basic
                AuthName "xxxxx"
                AuthBasicProvider ldap
                AuthzLDAPAuthoritative off
                AuthLDAPURL "ldap://10.132.0.5:389/CN=Users,DC=xxx,DC=de?sAMAccountName?sub?(objectClass=user)"
                AuthLDAPBindDN "apache-ldap@xxx"
                AuthLDAPBindPassword "xxxx"

                require valid-user
        </Location>

       <Location /web/>
                Allow from all
                Satisfy any
        </Location>

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


Mime
View raw message