in reply to OT ? : Active Directory Authentication with Perl, Mod_Perl and Apache
I use the following HTTP conf to restrict access to my Trac SVN repo
<Location /svn> DAV svn SVNParentPath /projects/svn Order allow,deny Allow from all AuthType Basic AuthName "Trac" AuthBasicProvider "ldap" AuthLDAPURL "ldap://domain.com:389/DC=domain,DC=com?sAMAccountName? +sub?(objectClass=*)" AuthLDAPBindDN "user@domain.com" AuthLDAPBindPassword "password" authzldapauthoritative Off require ldap-group CN=Trac,CN=Users,DC=domain,DC=com </Location>
I don't think you need perl at all for this aspect. I do also have a perl script that uses LDAP for authentication but its not to protect a website.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: OT ? : Active Directory Authentication with Perl, Mod_Perl and Apache
by Anonymous Monk on Mar 12, 2008 at 10:32 UTC | |
by almut (Canon) on Mar 12, 2008 at 11:09 UTC |