Re: Having problems getting mod_authnz_ldap to work right

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

 



On 9/10/07, Rob Tanner <rtanner@xxxxxxxxxxxx> wrote:
> Hi,
>
> I upgraded from Apace 2.0.53 to 2.2.4 and from mod_auth_ldap to
> mod_authnz_ldap and that's where my troubles began.  I have one
> protected directory that anyone with an LDAP entry should be able to
> access, but something is failing in the process and Apache is not
> providing in helpful logs (when I deliberately mistype my password I get
> an error in the error_log but other times no log)

> Here's my attempted mod_authnz_ldap configuration:
> <Directory /var/apache/html/support/protected>
>         SSLRequireSSL
>         AuthBasicProvider ldap
>         AuthLDAPURL ldap://biblio.linfield.edu:389/o=linfield.edu?uid
>         AuthLDAPBindDN "cn=secret, ou=Special Users, o=linfield.edu"
>         AuthLDAPBindPassword "secret"
>         AuthName "Protected"
>         AuthType Basic
>     <Limit GET>
>         Require valid-user
>     </Limit>
>     Options Indexes FollowSymLinks
>     AllowOverride None
> </Directory>
>

In 2.2.4 you might need to set 'AuthZLDAPAuthoritative off' to use
require valid-user.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43281

(but you should have seen some kind of errorlog entry for this failure)

-- 
Eric Covener
covener@xxxxxxxxx

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