Please forget my request below :-)
I found the error. In fact, the authentication did not fail at all. I
was just asking for a username and password again because the
authorization was denied by svn server. (by the way, it's strange to not
receive on client-side a message notifying that access right was
denied). In addition, I let a white space character between the name of
the repository and the path, which was not supported by svn server.
Have a nice day
PS: Subversion is really a cool and powerful tool !
Vincent Ducret wrote:
> Hi all,
> I'm facing a strange problem ...
> I installed on a Solaris-SPARC box: Subversion 1.1.2, Apache 2 and
> ViewCVS. I configured my Apache instance to only process SSL requests
> from browser and svn clients, and to request for Basic Authentication.
> From a remote client (under Linux), I can successfully browse my SVN
> repositories thanks to ViewCVS and access my svn repositories through my
> svn client (everything works well, SSL, authentication, checkout, ...).
> Now I'm looking for defining authorization policies on the server-side
> to apply the right access granularity to my different repositories. For
> that, I defined the following Location tag into my httpd.conf file:
> <Location /svn>
> DAV svn
> SVNParentPath /var/hosted-projects/svn/repositories
> AuthType Basic
> AuthName "Subversion repositoriess "
> AuthUserFile /var/hosted-projects/svn/auth-file
> AuthzSVNAccessFile /var/hosted-projects/svn/authz-file
> Require valid-user
> Into /var/hosted-projects/svn/authz-file, I define the rules following
> the SVN syntax.
> I can successfully stop and restart Apache, the mod_authz_svn module is
> sucessfully loaded. When I launch a svn command from my remote client, I
> got the SSL certificate, and then a password request (authentication
> steps) BUT ....
> When I entered my password (the same one than previously without
> authorization mechanisms in place), svn do not validate it as previsouly
> and asl me to enter my username, then my password again again again ..
> As a result, it seems that my previsous passwords are no more valid ?!?!
> But if I comment the AuthzSVNAccessFile line in httpd.conf and restart
> Apache, it works again !! I.e. I can successfully authenticate to SVN
> with my usual password ...
> Any tip or suggestion
Software Architect, Sun CS Enterprise Web Services Practice
Sun Microsystems (Switzerland) Inc. Phone: +41 22 999 04 04
Route des Avouillons 12 Fax: +41 22 999 04 05
CH-1196 Gland E-mail: firstname.lastname@example.org
To unsubscribe, e-mail: email@example.com
For additional commands, e-mail: firstname.lastname@example.org
Received on Wed Jan 12 13:36:01 2005