[wplug] mod_authnz_ldap on apache2.2.2

Brandon Poyner bpoyner at gmail.com
Wed Jan 24 16:14:08 EST 2007


On 1/24/07, G.Pitman <gpitman at gmail.com> wrote:
> I have been fussing with this new ldap auth module and aparently I am missing something. The page that I am trying to protect will prompt for the uname/passwd but never appears to attempt to contact the ldap server according to tcpdump. Does anyone have an example of a working directive for this? mine is below and not talking.
>
> httpd.conf snippet
> <Directory "/var/www/stuff">
>         Options Indexes FollowSymLinks +Includes
>         AllowOverride All
>         Order allow,deny
>         Allow from all
>         AuthBasicProvider ldap
>         AuthLDAPURL ldap://ldap.sample.com/dc=sample,dc=com?uid
>         require ldap-group cn=sysadmin,ou=Group,dc=sample,dc=com
>         AuthName Just stuff beyond here
>         AuthType Basic
> </Directory>
>
>
> abbreviated module list
> # apachectl -D DUMP_MODULES
>  auth_basic_module (shared)
>  auth_digest_module (shared)
>  authn_file_module (shared)
>  authn_alias_module (shared)
>  authn_anon_module (shared)
>  authn_dbm_module (shared)
>  authn_default_module (shared)
>  authz_host_module (shared)
>  authz_user_module (shared)
>  authz_owner_module (shared)
>  authz_groupfile_module (shared)
>  authz_dbm_module (shared)
>  authz_default_module (shared)
>  ldap_module (shared)
>  authnz_ldap_module (shared)

I use mod_auth_ldap which has a different syntax, but I don't see
anything directly wrong with mod_authnz_ldap configuration.  What does
the error_log say?  Have you attempted changing it to "AuthType
Digest" and "AuthDigestProvider ldap" to see if that makes any
difference?

-- 
Brandon


More information about the wplug mailing list