[Auth_ldap] LDAP Alterations for Apache different.

Brook Hurd brookh at bitslv.com
Sat Mar 18 14:39:04 PST 2006


I have been using LDAP on an older systems for years now.  I also
installed the mod required to allow LDAP to be used as http
authentication.  It works great on the old server Redhat ES3 but not on
the new server Redhat ES4.  I installed LDAP, LDAP server and the apache
mod.  I can verify things are working, but I cannot get it to read the
database properly.  I discovered first that the syntax had changed, but
I cannot see the specifics on what alterations I need to do to make LDAP
authentication run as before.  Below is the code from my previous
install along with my most recent attempt.  Can anyone help me clean up
this code?

 

Apache had some limited documentation at: 
http://httpd.apache.org/docs/2.0/mod/mod_auth_ldap.html

 

Unfortunately, it lacked specifics. 

 

 

Before:

 

AuthType Basic

AuthName "MyAuth"

AuthzLDAPEngine On

AuthzLDAPAuthoritative On

AuthzLDAPSetAuthorization On

AuthzLDAPServer 'localhost:389'

AuthzLDAPLogLevel debug

AuthzLDAPBindDN 'cn=Manager,dc=perlmanarchitects,dc=com'

AuthzLDAPUserKey cn

AuthLDAPBindDN "cn=Manager,dc=perlmanarchitects,dc=com"

 

AuthzLDAPUserBase
'ou=employees,ou=Development,dc=perlmanarchitects,dc=com'

#######Comment out next line to restrict to one level

AuthzLDAPUserScope subtree

require valid-user

satisfy any

 

 

 

After:

AuthType Basic

AuthName "MyAuth"

AuthLdapAuthoritative  on

AuthLdapEnabled        on

AuthLDAPURL          ldap://localhost/ou=directors,ou=Development?cn?sub

require valid-user

satisfy any

 

 

Thank you,

________________________________

Brook Hurd
Vice President
Binary IT Solutions, Inc.
800 N. Rainbow Blvd. Suite 216
Las Vegas, NV 89107
(702) 233-BITS (2487) - Office
(702) 204-8913 - Cell
(702) 243-BITS (2487) - Fax 

 
http://www.bitslv.com
brookh at bitslv.com 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.rudedog.org/pipermail/auth_ldap/attachments/20060318/12db5c87/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 5879 bytes
Desc: image001.gif
Url : http://www.rudedog.org/pipermail/auth_ldap/attachments/20060318/12db5c87/attachment.gif 


More information about the Auth_ldap mailing list