Alessandro Dantas wrote:
> I'm having trouble using TortoiseSVN with a SSPI + SSL on an Apache
> setup.
>
> Here's the current configuration:
>
> Apache/2.0.63 (Win32) DAV/2
> mod_ssl/2.0.63 OpenSSL/0.9.7m
> SVN/1.4.4
> PHP/5.2.6
> mod_auth_sspi/1.0.4
>
> <Location /svn>
> DAV svn
> SVNParentPath c:/svn_repos
> AuthType SSPI
> SSPIAuth On
> SSPIAuthoritative On
> SSPIDomain my-domain
> SSPIOfferBasic On
> AuthzSVNAccessFile conf/svn/svn-authz.conf
Try removing that line for testing.
> Require valid-user
> </Location>
>
> Obs: I'm using a self-signed SSL-certificate
that should not matter.
> When I access the repositories through Firefox I get the expected
> behavior: the browser asks me to authenticate myself. But when I try
> to check out a repository through TSVN, no authentication is
> requested, the repository is checked out (files downloaded) and any
> subsequent operation (commits, for instance) fails.
That's the 'SSPI' part. Firefox does not understand that and therefore
falls back to 'basic' authentication. SSPI means that the authentication
happens without you getting asked for username/password because it uses
your windows logon credentials (your windows username and password).
I assume that you have set up your authentication so that your
username/password for the svn repository does not match the ones you use
to logon to your workstation.
Check the apache error log to find out what username is used for
authentication (I assume that it's not just 'username' but
'domain\username').
Stefan
--
___
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net
Received on 2008-06-04 18:31:45 CEST