Authentication error: Apache 2 and MS 2003 Active Directory

Kenneth Holter kenneho.ndu at gmail.com
Tue Sep 9 12:11:17 UTC 2008


Hi.

I've tried to set up Apache 2 to authenticate users against MS 2003 Active
Directory, but are getting this error:

Mon Sep 08 14:16:03 2008] [error] [client xxx.xxx.xxx.xxx] access to /folder
failed, reason: verification of user id 'kenneho' not configured, referer:
http://host.example.com/


This is from my httpd.conf:

LoadModule ldap_module modules/mod_ldap.so
LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
....
AuthType Basic
AuthName "Welcome!"
AuthLDAPURL ldap://111.222.333.444:389/dc=example,dc=com?sAMAccountName
AuthLDAPBindDN CN=user,OU=something,DC=example,DC=com
AuthLDAPBindPassword secret
Require vaild-user


General ldapsearch using the bind DN and password seems to work fine:

ldapsearch -x -D "CN=user,OU=something,DC=example,DC=com" -w secret


On
http://wiki.apache.org/httpd/ModAuthAndActiveDirectory2003?highlight=(active)%7C(directory)
a problem with mod_auth_ldap and MS 2003 AD is described, but this doesn't
seem to apply to my configuration.


 Any ideas on how to further debug this?


Regards,
Kenneth Holter



More information about the redhat-list mailing list