Windows authentication with subversion and apache
From: Krishna Reddy <kreddy285_at_yahoo.com>
Date: Thu, 22 May 2008 08:43:04 -0700 (PDT)
Hello,
Windows authentication with subversion using SSPI module is working now.
I used the mod_auth_sspi.so module from the TortoiseSVN website.
mod_auth_sspi.so
http://sourceforge.net/projects/mod-auth-sspi/
I had to setup subversion location in apache httpd configuration file..
Location /Rep>
DAV svn
SVNParentPath C:/SVN/Rep
AuthName "Subversion Rep repository"
AuthType SSPI
SSPIAuth On
SSPIAuthoritative On
SSPIDomain DOMAIN
SSPIOfferBasic On
Require valid-user
AuthzSVNAccessFile C:/SVN//Rep/auth.txt
</Location>
Next, I had to setup subversion access file i.e.., auth.txt
[groups]
access = DOMAIN\USERNAME, username
[/]
@access = rw
Note: use two login names - one with and one without the domain.. Subversion requires the former and the web browser requires the latter.
Thank you.
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.