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-l...@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-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to