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

Authentication issues

From: Aaron Wood <woody77_at_gmail.com>
Date: 2005-09-27 01:15:29 CEST

I'm setting up http/https access for svn, and running into issues.
The server is a windows XP (home, don't ask why) box, running apache
2.0.54, with mod_auth_sspi.

If I connect to the server with a browser, I get a proper
authentication challenge. If I enter my user/pass, I can see the
latest rev of the repository.

If I try to do a co from the svn commandline, I get:

>svn co http://server/svn/test1
svn: PROPFIND request failed on '/svn/test1'
svn: PROPFIND of '/svn/test1': authorization failed (http://server)

My apache logs shows:
[client] - - [time] "PROPFIND /svn/test1 HTTP/1.1 401 384

when a browser connects I see:
[client] - - [time] "GET /svn/test1/ HTTP/1.1" 401 384
[client] - - [time] "GET /svn/test1/ HTTP/1.1" 401 384
[client] - DOMAIN\User [time] "GET /svn/test1/ HTTP/1.1" 200 218

If I try to pass my username in as part of the co from the
commandline, I get the same in the logs (appears to be ignored).

Furthermore, if I type in an invalid username in the prompt in the
browser window, it still works, and I see the username I entered
(asdfasdfasdf isn't a user on my system).

Relevant httpd.conf sections:

LoadModule sspi_auth_module modules/mod_auth_sspi.so
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module "<path to subversion install>/bin/mod_authz_svn.so"

.....

<Location /svn>
  DAV svn
  SVNParentPath /svn

  AuthName "SVN Server"
  AuthType SSPI
  SSPIAuth On
  SSPIAuthoritative On
  SSPIDomain MACHINENAME

  Require valid-user
</Locaton>

And help would be greatly appreciated.

Thanks,
Aaron

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Sep 27 01:17:07 2005

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.