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

Re: username option ignored

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-02-04 17:39:32 CET

On Feb 4, 2005, at 9:47 AM, Sergio Rua wrote:

> Hello,
>
> I'm a new subversion user. I'm setting up a SVN server and I noticed a
> problem. It looks like the options --username and --password are many
> times ignored.
>

The --username and --password options aren't ignored. But if the
server never sends an authn challenge, then of course they'll never be
used.

Subversion is a "server pull" authentication system, not a "client
push" one like CVS. So if the server never asks for authentication,
then --username and --password will never be used. The client cannot
force authentication; that's purely the server's decision.

> I'm using a Debian package and I found this bug report. Is this true?
>
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=273874
>

The author of this bug report is confused, and probably should have
posted to users@ or come to IRC, rather than filing it as a Debian bug.

svn+ssh:// is special case. Neither the svn client *nor* server is
doing any authentication at all. All authentication is done by SSH.
So once again, because the svn server isn't asking for authentication,
--username and --password are never used.

The proper way to do it is svn+ssh://user@host/. And the author of the
bug seems to have figured it out already.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Feb 4 17:43:32 2005

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.