I just set up an SVN server (on a Windows XP machine) for my lab at my university. Right now, anyone can access and commit to the repository anonymously.
I want to allow only certain users on our AD domain to be allowed to access the repository. If possible, I also want the passwords to be the same as the password for the domain.
Is this possible to do?
I installed mod_auth_sspi and configured my httpd.conf with the following:
DAV svn SVNPath "R:\SVN"
AuthName "SVN Server" AuthType SSPI SSPIAuth On SSPIAuthoritative On SSPIDomain AD SSPIOfferBasic On Require valid-user AuthzSVNAccessFile "r:/svn/svnaccess.conf"
and in svnaccess.conf:
[groups] dev = AD\user1, user1, AD\user2, user2 [/] @dev = rw