[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: Stefan Sperling <stsp_at_elego.de>
Date: Thu, 10 Nov 2011 09:17:35 +0100

On Wed, Nov 09, 2011 at 06:50:35PM -0600, Hyrum K Wright wrote:
> 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?

Putting 'store-passwords = no' in the [global] section of
hte 'server' config should have the desired effect.
While passwords won't be cached, the username will still be chached.

The no-auth-cache option is the one that disables the entire
~/.subversion/auth area -- this option also affects caching of usernames,
SSL certs, etc.
Received on 2011-11-10 09:18:27 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.