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

Re: User problem

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2002-09-04 16:06:32 CEST

Jan Borsodi <jb@ez.no> writes:

> I have a problem with users in Subversion (I'm using 0.14.2). It
> seems that all commits made to the repository is done with the user
> "anonymous" instead of the user I've checked out the repository
> with. I tried looking trough the documentation (faq and cookbook)
> for information on this but found none. Any clues?

Yes, I think we need to document how authentication/authorization
works in the current incarnation of mod_dav_svn... I'll put it in the
Handbook.

In a nutshell:

When you set up a <Location> block with no
authentication/authorization directives in it, the repository is
world-readable and world-writable. In this situation, mod_dav_svn
can't tell one client apart from another; all incoming http requests
look the same, so it attributes each commit to an "anonymous" user.

If you activate some kind of authentication in your <Location> block
(such as basic auth), then the server will challenge each client to
provide user credentials. The client has all sorts of code for
discovering and caching username/password info. mod_dav_svn notices
the validated 'username' field in the incoming apache request, and
uses that name as the author of the newly committed revision.

So look in the Handbook again... try turning on Basic Auth for write
operations.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Sep 4 16:08:25 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.