I am configuring a subversion repository to use basic LDAP authentication. I have an entry in my http.conf
file that looks like this:
<Location /company/some/location>
DAV svn
SVNPath /repository/some/location
AuthType Basic
AuthName LDAP
AuthBasicProvider ldap
Require valid-user
AuthLDAPBindDN "cn=SubversionAdmin,ou=admins,o=company.com"
AuthLDAPBindPassword "XXXXXXX"
AuthLDAPURL "ldap://company.com/ou=people,o=company.com?personid"
</Location>
This works fine for living, breathing people who need to log in. However, I also need to provide application accounts access to the repository. These accounts are in a different OU. Do I need to add a whole new <location>
element, or can I add a second AuthLDAPURL
to the existing entry?
You can use mod_authn_alias to create aliases for your providers. There was an example in this question for pretty much exactly the same use case: