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

Re: Clearing Authentication Data

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Fri, 25 Jul 2008 09:34:37 +0200

Robert Smith wrote:
> I've run into a scenario that I can't seem to work through.
>
> I cannot seem to be able to fully clear the authentication data
> through any means I have found.
>
> This scenario began when I swapped out a build user login that I use
> for my CruiseControl.NET automation, I have given this domain account
> local admin permissions on the build server, and have added as the
> CruiseControl service account.
>
> I clicked on the clear button for the TortoiseSVN Authentication Data
> in Settings/Saved Data and the button grays out.
>
> Now when I do an update I would normally expect to be prompted to
> input new credentials. I am not being prompted; it simply uses the
> credentials that I'm logged into the server with and happily does the
> update (or any other TSVN action I've tried).
>
> After Googling, I found that if you delete the C:\<Documents and
> Settings>\<username>\Application Data\Subversion\auth folder, it
> should force the clearing of credentials for each user. I did this
> action on each user that had a Subversion folder. This did not clear
> the authentication data.
>
> I have also tried rebooting, uninstalling, rebooting, reinstalling,
> rebooting, with TortoiseSVN versions 1.3.3, 1.4.5, 1.4.8, and 1.5.0,
> all with the same negative result.
>
> I have logged in with a different user account and find that the clear
> button is grayed out, but again, I can use TortoiseSVN with some sort
> of magically cached credentials for the account that I'm logged into
> the server with.
>
> In this instance, the TortoiseSVN client is installed on Windows
> Server 2003. The SVN server is 1.3.1. As stated, I have tried multiple
> client versions.
>
> Any constructive ideas would be welcome.

Your repository server allows authentication with SSPI, and that's what
TSVN is doing. There are no auth data to cache when using SSPI, and the
whole nature of SSPI is that you don't have to enter username/password
at all.

If you need to force TSVN to use another authentication, edit the svn
servers config file (Settings->Network->Edit), then under [global], add
the line
http-auth-types = basic;digest

the default is
http-auth-types = basic;digest;negotiate
but you don't want the 'negotiate' which translates to using SSPI.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net

Received on 2008-07-25 09:34:57 CEST

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