Exclude subdirectory from LDAP Authentication

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux