httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Förster <>
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

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] [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] user xxxxx not found: /web/

Any help how to get this working is appreciated!

  - David

Configuration within the virtual host:

        <Location />

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

                require valid-user

       <Location /web/>
                Allow from all
                Satisfy any

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message