Link to home
Start Free TrialLog in
Avatar of alpine
alpine

asked on

LDAP and htaccess on Apache

Is there any way to take an LDAP directory's username and password and integrate that with an htaccess file?  For instance, let's say that I want the files in /usr/local/public_html/protected to be accessible to certain users.  Instead of referring to some username/password list in an htaccess file, I would like to use the username and password from that user's LDAP directory username and password.  Anyone have an idea how to do this?  I am using the Apache web server and Netscape's latest LDAP directory.
Avatar of ahoffmann
ahoffmann
Flag of Germany image

AFAIK, you need to use a cgi program which displays the protected files after LDAP authentification
Avatar of helver
helver

It looks like there are two LDAP authentication modules for apache:

AuthLDAP
AuthPerLDAP

I can't say that I've used either one, but the facility seems to exist...

ASKER CERTIFIED SOLUTION
Avatar of s_franklin
s_franklin

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial