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

RE: Problem using AuthzSVNAccessFile

From: Carmela Stuart <c.stuart_at_CableLabs.com>
Date: 2004-01-27 21:42:26 CET

Thanks for the response. However, case sensitivity isn't the problem I am having. Has the mod_authz_svn been tested on a Win2K platform?
Carmela Stuart

-----Original Message-----
From: Oliver Adolph [mailto:Oliver.Adolph@intercard.de]
Sent: Saturday, January 24, 2004 5:47 AM
To: Carmela Stuart; users@subversion.tigris.org
Subject: AW: Problem using AuthzSVNAccessFile

You should be aware that mod_authz_svn compares the usernames case sensitive. I patched myself mod_authz_svn so that it uses case insesitive compares.
Best regards
Oliver Adolph

-----Ursprüngliche Nachricht-----
Von: Carmela Stuart [mailto:c.stuart@CableLabs.com]
Gesendet: Samstag, 24. Januar 2004 01:31
An: users@subversion.tigris.org
Cc: Carmela Stuart
Betreff: Problem using AuthzSVNAccessFile

I am having a problem using the AuthzSVNAccessFile. I am running Apache 2.0.48 and Subversion 0.37.0 on a Windows 2000 platform. I created a repository under C:\PCRepository and imported the contents of 2 directories called "Tools" and "Test_Scripts". My http.conf contains the following:
<Location /PCRepository>
  DAV svn
  SVNPath C:\PCRepository
  AuthType Basic
  AuthName "PCRepository"
  AuthUserFile "C:\Program Files\Apache Group\Apache2\passwd\passwords"
  Require valid-user
  AuthzSVNAccessFile "C:\PCRepository\svn_access_file.txt"

SSLProtocol all
SSLEngine on
SSLCertificateFile "C:/Program Files/Apache Group/Apache2/carmelas_ssl/ssl_certificates/otis_cablelabs_com.cert"
SSLCertificateKeyFile "C:/Program Files/Apache Group/Apache2/carmelas_ssl/ssl_private_keys/otis_cablelabs_com.key"
ServerName otis.cablelabs.com:443
ServerAdmin c.stuart@cablelabs.com
DocumentRoot C:/PCRepository
The commands I issued to create the repository are:
1. svnadmin create C:\PCRepository
2. svn import C:\tmpdir https://otis.cablelabs.com/PCRepository
(The C:\tmpdir directory contains the directories C:\tmpdir\Tools and C:\tmpdir\Test_Scripts, with each of these subdirectories containing a single file)
My svn_access_file.txt contains the following:
cstuart = rw
If I comment out the line "AuthzSVNAccessFile "C:\PCRepository\svn_access_file.txt", I am prompted for my password (as user cstuart) and then can access my repository via a web browser and see the "Tools" directory in the repository. If I don't comment out this line, then I am prompted for my password 3 time and then denied access to my repository. Is the format of my svn_access_file.txt incorrect?
Carmela Stuart
Received on Tue Jan 27 21:44:55 2004

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.