Subversion in a Windows environment: authenticating against multiple domains

We run Subversion for source control at work, with Apache2, and we use mod\_auth\_sspi to allow developers to authenticate to Subversion with their Windows username and password. However, we’ve got more than one domain at work, and so we need SSPI to allow you to authenticate with your Windows username and password whichever domain you’re in. The relevant stanza of `httpd.conf`, to authenticate against multiple NT/2003 domains, looks like this: DAV svn SVNParentPath e:svn # AuthName “Subversion repositories” Require valid-user AuthAuthoritative Off # multiple authorities # AuthType SSPI SSPIAuth On SSPIAuthoritative On SSPIDomain domain_controller_for_first_domain SSPIOfferBasic On # AuthType SSPI SSPIAuth On SSPIAuthoritative On SSPIDomain domain_controller_for_second_domain SSPIOfferBasic On # AuthType SSPI SSPIAuth On SSPIAuthoritative On SSPIDomain domain_controller_for_third_domain SSPIOfferBasic On

I'm currently available for hire, to help you plan, architect, and build new systems, and for technical writing and articles. You can take a look at some projects I've worked on and some of my writing. If you'd like to talk about your upcoming project, do get in touch.

More in the discussion (powered by webmentions)

  • (no mentions, yet.)