RE: SVN authentication on Windows
From: Marziou, Gael <gael.marziou_at_hp.com>
Date: 2007-08-23 16:32:44 CEST
I went recently through same path.
I personally found it easier to install the CollabNet package as it does include Apache.
After installation, you get svnserve and apache basic http authentication, with some additional work I was able to get SSL client cert and NTLM authentication.
I am in the process of implementing SVN 1.4 + TortoiseSVN + Apache 2.0 HTTP Server in a Windows environment.
In the first test incarnation, I installed Apache 2.0 and configured the repository directory in httpd.conf as directed in the SVN docs. All worked well, I was able to able to browse the repository and successfully exercise most of the Tortoise functionality.
The one problem I am experiencing is that revisions don't seem to have an author (the author column is blank for all revisions in the blame window). If TortoiseSVN is similar to TortoiseCVS in this respect, I am guessing that the revision author is the username from the SVN server login for the commit, and is blank if Apache is not authenticating.
I have tried to set up SVN authentication as described in
Version Control with Subversion 1.4
However, after creating the authentication file in the prescribed fashion, updating httpd.conf as directed, and jogging the Apache server, and even rebooting the Apache server, Tortoise committed changes without prompting for a password, and the new revisions still had no associated author, in short, authentication did not seem to be working.
I have checked my authentication file and httpd.conf, and I can't find anything wrong, except that htaccess seems to be creating the authentication file with UNIX-style newlines. Is there anything special I need to know about Basic HTTP/SVN authentication on Windows? Will Basic HTTP authentication solve my revision author issue?
This is an archived mail posted to the Subversion Users mailing list.