[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

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.
Which SVN binary package, did you use?

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.

Gael
________________________________
From: David W. Wilson [mailto:wilson.d@anseri.com]
Sent: Thursday, August 23, 2007 2:37 PM
To: users@subversion.tigris.org
Subject: SVN authentication on Windows

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
-> 6. Server Configuration
-> httpd, the Apache HTTP server
-> Basic HTTP Authentication

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?
Received on Thu Aug 23 16:30:54 2007

This is an archived mail posted to the Subversion Users mailing list.