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

Re: Caching just the username for authn

From: Konstantin Kolinko <knst.kolinko_at_gmail.com>
Date: Thu, 10 Nov 2011 05:41:04 +0400

2011/11/10 Hyrum K Wright <hyrum.wright_at_wandisco.com>:
> Somebody approached me a few minutes ago at ApacheCon and posed the
> following question:
> "The username on my local box is different than my username on the server,
> and I don't want to cache passwords.  How can I cache just the username?"
>  It turns out I didn't have a good answer for him, aside from the ability to
> put '--username $FOO' on the command line.  Sander looked into the config
> file and it turns out we don't have a configuration option which users can
> set, either in a global context, or on a per-server scenario.
> Before I run and file a bug on this, I'd like to make sure I'm not missing
> something terribly obvious.  Am I?

There might be some caching somewhere.

On my PC there is the following folder:
%APPDATA%\Subversion\auth\svn.username\

It contains a file with some numeric name and containing
[[[
K 15
svn:realmstring
V 36
<some UUID here>
K 8
username
V 10
<name here>
END
]]]

It is not my usual user name, but one I used in some scripts with
--no-auth-cache --non-interactive.

Modification date of that file is ~year ago, so it is likely that it
was last updated by a SVN 1.6 client.

None of my usual user names is mentioned in that folder.

Best regards,
Konstantin Kolinko
Received on 2011-11-10 02:41:36 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.