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.
In reply to Re: OT ? : Active Directory Authentication with Perl, Mod_Perl and Apache
by eric256
in thread OT ? : Active Directory Authentication with Perl, Mod_Perl and Apache
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |