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

Re: Only one username per realm stored in cached credentials

From: shannon carey <rehevkor5_at_gmail.com>
Date: Sun, 20 Jul 2008 20:08:56 -0500

*bump*

On Mon, Jul 14, 2008 at 9:23 PM, shannon carey <rehevkor5_at_gmail.com> wrote:

> In my experience, authenticating to a realm with a certain user/password
> will cause that information to overwrite any other stored credentials which
> were for the same realm.
>
> Why is this a problem?
>
> I have two users which interact with my repositories. My main user which
> has rw access but no access to the synched backup repositories, and my
> backup user which has r access but can commit to the synched backup
> repositories.
>
> The synch is run via a scheduled task, with --username specified as the
> backup user. As long as the backup user's credentials are cached, it's ok.
> However, if I perform a commit and provide my rw user's credentials, those
> overwrite the backup user's credentials... You can see the fix I am in.
>
> I could solve this problem by putting the backup user's password and
> --no-auth-cache (or whatever) directly in the scheduled task's command line,
> but that is less than desirable.
>
> Does anybody anticipate a way that SVN could allow multiple user
> credentials to be cached per realm?
>
> Thanks!
>
> -Shannon Carey
>
Received on 2008-07-21 03:09:51 CEST

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

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