Bluehost.com Web Hosting $6.95

Apache 2.0.48: mod_auth_ldap and Active Directory

This is a discussion on Apache 2.0.48: mod_auth_ldap and Active Directory within the Windows Web Servers forums, part of the Web Server and Related Forums category; Yo. I'm running Apache/2.0.48 (Win32) with mod_ssl/2.0.48 and OpenSSL/0.9.7c on ...


Go Back   Usenet Forums > Web Server and Related Forums > Windows Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-26-2004
Michael Grossniklaus
 
Posts: n/a
Default Apache 2.0.48: mod_auth_ldap and Active Directory

Yo.

I'm running Apache/2.0.48 (Win32) with mod_ssl/2.0.48 and
OpenSSL/0.9.7c on a Windows 2000 Advanced Server SP4. I've configured
the mod_auth_ldap that came with the Apache distribution to validate
user accounts against my ADS.

Therefore I've included the following lines into my httpd.conf:

LoadModule auth_ldap_module modules/mod_auth_ldap.so
LoadModule ldap_module modules/util_ldap.so

and

<Directory "C:/Program Files/Apache Group/Apache2/htdocs">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
AuthName "Global Information Systems Domain"
AuthType Basic
AuthLDAPUrl "ldap://localhost/dc=globis,dc=infk,dc=d,dc=ethz,dc=ch?sAMAccountNam e?sub?(objectCategory=Person)(objectClass=User)"
AuthLDAPBindDN "cn=LDAPUser,cn=Users,dc=globis,dc=infk,dc=d,dc=et hz,dc=ch"
AuthLDAPBindPassword "*********"
require valid-user
</Directory>

Now, the problem is REALLY strange! As long as the users enter their
credentials correctly, everything works perfectly... But (and it's a
big BUT) as soon someone enters a wrong user/password, the validation
always fails from any machine and browser until the Apache service is
restarted...

The following warning is logged in the "error_log" file once:
[Thu Feb 26 21:37:13 2004] [warn] [client 129.132.13.8] [6884]
auth_ldap authenticate: user abc authentication failed; URI /
[ldap_simple_bind_s() to check user credentials failed][Invalid
Credentials]

Every subsequent attempt to log in produces the following error:
[Thu Feb 26 21:37:37 2004] [warn] [client 129.132.13.8] [6884]
auth_ldap authenticate: user abc authentication failed; URI / [User
not found][No Such Object]
[Thu Feb 26 21:38:39 2004] [warn] [client 129.132.13.28] [6884]
auth_ldap authenticate: user xyz authentication failed; URI / [User
not found][No Such Object]

Any help, suggestions or ideas are greatly appreciated!

MfG,
Michael.
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 05:22 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0