gregs

SVN : authentication with a windows domain

by gregs on Mar.08, 2010, under apache, svn

Finally got round to implementing this for work. As a starting point I followed the instructions found here.

The config looked fine, but after restarting the service, I still wasn't getting prompted for a log in. After re-jigging the order to what you see below and restarting the apache service (we are using 2.0.59), it all worked. Maybe this will help someone else along the way.

CODE:
  1. <Location /svn>
  2. DAV svn
  3. # any "/svn/foo" URL will map to a repository /usr/local/svn/foo
  4. SVNParentPath {drive letter}:/path/to/SVN/epositories/
  5.  
  6. AuthName "SVN"
  7. AuthType SSPI
  8. SSPIAuth On
  9. SSPIAuthoritative On
  10. SSPIOfferBasic On
  11. SSPIOmitDomain on
  12. SSPIDomain &lt;domain controller&gt;
  13. SSPIBasicPreferred On
  14. Require valid-user
  15. </Location>


Leave a Reply

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!