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

Re: --username option does not work?

From: Michael Wood <mwood_at_its.uct.ac.za>
Date: 2003-08-19 12:26:20 CEST

On Tue, Aug 19, 2003 at 04:08:18PM +0900, sugi@dream.big.or.jp wrote:
[snip]
> When I login with name `foo',
> % svn ls --username bar svn+ssh://anotherhost/home/bar/svn/repos/
> foo@anotherhost's password:
> password for `foo' is required.
> (The user `foo' does not exist on `anotherhost')
[snip]

svnserve currently has two modes of operation. The first mode is
unauthenticated. The second is tunnel mode.

Tunnel mode is used with svn+ssh://blah/

In tunnel mode, as far as I know, svnserve just uses the current user as
the svn:author. It completely ignores the --username switch (or the
user in svn+ssh://user@host/) So, since you logged in to the SSH server
as user "foo", that's what svnserve puts in the repository.

The idea was for svnserve to support SASL at some point for more
authentication options, but this has not been implemented yet, and I
think there might have been some licensing concerns with some of the
available SASL libraries. The archives of the dev@subversion list
should have more details.

If you want different users to have access to the repository via SSH,
you could set up a group with all the users in it. Make sure the
repository is writable by the group and then make a wrapper for svnserve
that sets the umask appropriately before calling the real svnserve.

-- 
Michael Wood <mwood@its.uct.ac.za>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Aug 19 12:27:28 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.