Skip to main content

Posts

Showing posts with the label file

SVN: Subversion apache configuration smackdown

All I wanted out of life was to authenticate off Active Directory, have everyone with a valid user be able to read my svn repo and have a build user defined in a file for my Continuos integration (Non active directory user) and have a couple of AD users have read/write permissions sounds simple but maybe not so much. This is my config file (in /etc/httpd/conf.d): <AuthnProviderAlias ldap adf-ldap-alias> #ldap config make sure the DN config is correct and the server is right   AuthLDAPURL "ldap://adserver.co.za:3268/OU=User Accounts,DC=company,DC=co,DC=za?sAMAccountName?sub?(objectClass=*)" NONE   AuthLDAPBindDN "svnuser@company.co.za"   AuthLDAPBindPassword supersecret </AuthnProviderAlias> <AuthnProviderAlias file adf-file-alias> #setup this file using  htpasswd   AuthUserFile /etc/subversion/adf-auth-file </AuthnProviderAlias> <Location /adfrepo>   DAV svn   AuthType Basic   AuthName "ADF Subversi...