You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Thomas Sorgie <ts...@yahoo.com> on 2003/11/30 16:52:04 UTC

username does not work

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.

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.  I know
that the --username parameter is definitely used every
time because we have an automated script that invokes
all svn command line calls.

Here are examples statements invoked by our script:

svn commit \tradecard\development --non-interactive
--username tsorgie -m "tsorgie \tradecard\development"

svn update -r HEAD
\TradeCard\development\source\com\tradecard\integration\startup\IntegrationStarter.java
--non-interactive --username tsorgie --diff3-cmd
araxis-nomerge3.bat


Currently we default the username into the commit
comment, but that is just a weak workaround for the
real problem.

any suggestions?

thanks.

tom.


__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: username does not work

Posted by Ben Collins-Sussman <su...@collab.net>.
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