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

Re: Auth problems

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2003-09-19 16:03:08 CEST

Philip Martin <philip@codematters.co.uk> writes:

> 1. If I set "store-password = no" in ~/.subversion.config and then
> attempt to checkout I get prompted to enter my password three
> times (or only twice if I checkout revision 0). I expected the
> credentials to get cached in memory even when I ask for them not
> to be cached on disk.

This is due to a weirdness in ra_dav: if a PROPFIND on a path fails,
it keeps retrying the request on every single parent. This is the
"real" problem that needs solving, so be sure to notate that in any
issue you file.

> 2. If I allow credentials to be stored on disk then I only get
> prompted once, but that's because the client reads the credentials
> from the disk instead. Subsequent checkouts don't prompt, but they
> do read from the disk multiple times. Again I expected the
> credentials to get cached in memory.

I mean, yes, caching in memory is also a solution. It should
definitely be happening when it's not. I just also want to re-examine
the multiple-PROPFIND issue as well.

>
> 3. If I use "--username name", to handle a server name that is
> different from the local username, not only is the auth file read
> repeatedly, but it is written repeatedly as well. This happens
> even when the cached username matches the one supplied on the
> command line.

That's definitely weird and a bug. The auth system should be checking
--username before *any* other disk or prompt provider.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Sep 19 16:04:14 2003

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.