Sunday, 20. May 2012, 12:18

Menü
myStartpage
myCoding
myHowtos
- OpenVPN auf Debian
- Ubuntu ADS Integration
- Mutt mit Maildir Format
- Tipps Kismet
- Snort auf Ubuntu 10.04
- Apache AD Integration
- Linux Tools
- JVM Tuning
- OpenOffice und Java
myRCPlanes
myRobots
myPics
myGuestbook
myZitate
myImpressum
Apache AD Integration

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>

 

Websitebaker is Free Software released under the GNU/GPL License. - design by masterhomepage.ch