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

Re: Trouble using TSVN + SSPI + SSL

From: Alessandro Dantas <dantasaf_at_gmail.com>
Date: Wed, 4 Jun 2008 10:50:37 -0700 (PDT)

Thanks for the reply Stefan,

I removed the "Require valid-user" and now neither the HTTP nor the
HTTPS connections are requesting my credentials but both report the
same error when I try to commit something:

Command: Commit
Error: Commit failed (details follow):
Error: Server sent unexpected return value (403 Forbidden) in response
to MKACTIVITY
Error: request for '/svn/Teste/!svn/act/095442e0-6b2b-
ab41-85eb-88a62f32be2c'
Finished!:

Regarding the username/password that I'm using, each repository has
their own set of users/passwords (I'm transitioning from svnserve into
HTTP) but my goal is to use our network userids to access any of our
SVN repositories. Should I delete the old configuration files? I've
already configured the SVN file to take into account the domain name:

prj-mngr = BSB-Vipsign\luizg
               ,BSB-Vipsign\alessandrod

dev-team = @prj-mngr,
               ,BSB-Vipsign\augustoa
               ,BSB-Vipsign\caliner
               ,BSB-Vipsign\hugos
               ,BSB-Vipsign\alexandres
               ,BSB-Vipsign\juliol
               ,BSB-Vipsign\leonardop
               ,BSB-Vipsign\lucianao
               ,BSB-Vipsign\marcusr

Alessandro

On 4 jun, 13:31, Stefan Küng <tortoise..._at_gmail.com> wrote:
> 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
>
> signature.asc
> 1KDownload

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-06-04 19:52:23 CEST

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