[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: auth_ldap and apache : syntax error !



Tom <tqueste@free.fr> writes:

> I want to do http authentification with LDAP. I use RudeDog
> mod_auth_ldap. I install it without any error and it installs itself
> in httpd.conf (the "<ifDefine LDAP> LoadModule..." stuff).
> 
> I want users to authentificate when they go to the php directory
> (/usr/local/httpd/htdocs/php). So I insert these lines in the
> httpd.conf :
> 
> <Location php/>
>   AuthName "Restricted Area"
>   AuthType Basic
>   AuthLDAPUrl ldap://127.0.0.1:389/dc=filigrane-press,dc=com?uid?
    ^^^^^^^^^^^

This should be AuthLDAPURL. Case is important in apache directives. Very
likely, your location should look more like "<Location /php>" as well,
but that's not an auth_ldap issue. Finally, there is an auth_ldap
mailing list at http://www.rudedog.org/mailman/listinfo/auth_ldap, which
would be more appropriate for auth_ldap questions.

-- 
Dave Carrigan (dave@rudedog.org)            | Yow! Hey, waiter!  I want a NEW
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-DNS | SHIRT and a PONY TAIL with lemon
Seattle, WA, USA                            | sauce!
http://www.rudedog.org/                     |