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

Re: Ctrl-C out of username/password prompt

From: Travis P <svn_at_castle.fastmail.fm>
Date: 2004-03-22 23:35:58 CET

On Mar 22, 2004, at 3:42 PM, Brian Mathis wrote:

> I've noticed that I can't use Ctrl-C to break out of a username/passwd
> prompt, using the svn command line client. Usually, it's because I've
> su-ed to a different account, and don't realize which account I'm in.
>
> Is there any reason why this Ctrl-C is being captured? Why can't I
> just cancel it?

I've the same problem under slightly different circumstances. I'm
accessing my repository via SSL client certificates and
AuthzSVNAccessFile for fine-grained access control. When I try to
access a resource to which I don't have access, I get prompted for a
username/password/ and must press return a bunch of times to finally
get the operation to fail -- ctrl-c does not work.

twp$ svn ls https://myserver.com:8443/svn/top-secret
Authentication realm: <https://myserver.com:8443> Subversion repository
Password for 'twp':
Authentication realm: <https://myserver.com:8443> Subversion repository
Username:
Password for '':
Authentication realm: <https://myserver.com:8443> Subversion repository
Username:
Password for '':
svn: PROPFIND request failed on '/svn/websrv'
svn: PROPFIND of '/svn/websrv': authorization failed
(https://myserver.com:8443)

Now, I guess the thinking is that one might use a different id to
access different parts of the repository? But when I've reached an
area where I know at the first prompt the effort is doomed to failure,
I should be able to exit at that point.

In my particular situation of SSL-certificate authorization only
(SSLRequireSSL, SSLOptions _+FakeBasicAuth +StrictRequire), if the
ssl-client-cert-file doesn't grant access then it is impossible to
enter a username/password that will, so the whole interaction only
functions as an annoyance. I actually tried to spoof it with my
Subversion admin id and was very happy to see "Encountered
FakeBasicAuth spoof" appear in my error log.

-Travis

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Mar 22 23:45:28 2004

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.