We currently have a Subversion repository defined using a svn_auth_file
for authorization. I would like to change this to use our LDAP server (a Windows Active Directory server). This way, users can use their Windows passwords and get access to the repository if they're in the right group.
I'd like to test this by creating a second definition to the same repository. The first <location>
is what is currently there. The second <location>
is what I would like to add.
Note that http://svn.vegicorp.com/svn/development
and http://svn.vegicorp.com/dev
point to the same repository. The first uses a svn_auth_file
and the second one uses a LDAP server.
My question is there any harm in this setup. Will having different people accessing the repository in two different ways do any harm?
User csvn
Group csvn
<Location /svn>
DAV svn
SVNParentPath /mnt/svn/repositories
AuthzSVNAccessFile /etc/opt/CollabNet_Subversion/conf/svn_access_file
# Satisfy Any
Require valid-user
AuthType Basic
AuthName "Subversion repository"
AuthUserFile /etc/opt/CollabNet_Subversion/conf/svn_auth_file
<location /dev>
DAV svn
SVNPath /mnt/svn/repositories/development
AuthType basic
AuthName "Subversion repository"
AuthBasicProvider ldap
AuthzLDAPAuthoritative off
AuthLDAPURL "ldap://nycd01.vegicorp.com:389/dc=vegicorp,dc=com?sAMAccountName" NONE
AuthLDAPBindDN "CN=svnuser,OU=Users,OU=Accounts,DC=vegicorp,DC=com"
AuthLDAPBindPassword "swordfish"
Require ldap-group CN=Development,OU=Groups,DC=vegicorp,DC=com
</location>