Hier ein kurzes Howto über die integrierte Apache Active Directory Authentifizierung.
In diesem Beispiel ist ein SVN Repository eingebunden, allerdings kann so grundsätzlich auf jeder Seite statt mit einem User-Passwort Paar authentifiziert werden.
<Location /repos>
DAV svn
SVNParentPath /var/local/repos
#Limit write permission to list of valid users.
#Require SSL connection for password protection.
SSLRequireSSL
SVNListParentPath On
AuthzSVNAccessFile /etc/subversion/access.txt
#Ab hier kopieren falls kein SVN authentifiziert wird
AuthzLDAPAuthoritative off
AuthType Basic
AuthBasicProvider ldap
AuthName "domain.local"
AuthLDAPBindDN #Zeilenumbruch im Statement
"CN=username,OU=orgunit,OU=orgunit,OU=orgunit,DC=domain,DC=local"
AuthLDAPBindPassword "passwort"
AuthLDAPURL "ldap://domain.local:389/ #Zeilenumbruch im Statement
OU=orgunit,DC=domain,DC=local?sAMAccountName?sub?(objectClass=user)"
Require valid-user
</Location>
|
|
|