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

Re: username does not work

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2003-12-01 04:10:36 CET

On Sun, 2003-11-30 at 10:52, Thomas Sorgie wrote:
> Hi,
>
> My team uses subversion on windows with an svnserve
> server running on w2k. The clients are a combination
> of w2k and xp. We are running svn, version 0.30.0
> (r7178) on both the client and server.

That version is 2.5 months old. Subversion is pre-1.0 software; pretty
please -- use the latest version if you want better tech support. :-)

> For every svn command we invoke we use the --username
> parameter, but never have the user name recognized in
> the repository. The one notable exception was when we
> ran the original import, but in that case we were
> connected locally and not via an svnserve.

So from this, I assume you're using svnserve, and not apache, as your
server? We need more details. Show us your url schemas.

The --username parameter is *only* used if the server issues an
authentication challenge. The svn client doesn't "push" authentication
at the server; the server "pulls" it from the client only if it thinks
authentication is necessary. That means the --username parameter is
useless if

  * you point the client at an anonymous svnserve ('svnserve -d')
  * you point the client an apache server with no auth configured
  * you point the client at an ssh-tunnelled-svnserve (the ssh username
is used instead)

If you are in fact using svnserve by itself, you should upgrade to the
latest version, because it now includes build-in CRAM5 authentication.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Dec 1 04:11:20 2003

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.