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

Re: [patch] ask for username if getting UID fails

From: Branko Čibej <brane_at_xbc.nu>
Date: 2003-05-15 21:18:49 CEST

SteveKing wrote:

>----- Original Message -----
>From: "Branko Čibej" <brane@xbc.nu>
>>Doesn't that mean svn on Win98 will ask for a username on every
>>operation that requires authentication? We don't cache the usernames any
>>more. Or do we? Anyone?
>The username isn't cached. But that's not the problem.
Actually, I believe it is, independent of Win98 quirks. If you're logged
onto your machine as "stefan", but your username on the Subversion
server is "steve", you'd expect to be able to

    svn co http://svn.collab.net/repos/svn/trunk --username=steve

and, from then on, Subversion would send "steve" for all operations that
are started from that working copy. If the username isn't cached, you'll
have to keep passing the --username flag.

> If subversion
>doesn't have a username it tries to get one from the OS (the User ID).
>And if that fails it just exits with an error instead of then asking
>for a username.
If usernames were cached, you'd just have to pass --username to svn
once, and that would end your problems. I think that's a better and more
general solution than having svn start asking for usernames in addition
to passwords.

What do people think? Should we cache usernames with passwords? The
cache should be updated whenever the --username option is passed on the
command line, of course.

Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu May 15 21:19:46 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.