[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: Jan Borsodi <jb_at_ez.no>
Date: 2002-09-04 16:40:36 CEST

Ben Collins-Sussman <sussman@collab.net> writes:

> 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.

The server is setup with basic authentication, I use:

<Location /svn/nextgen>

# Order deny,allow
# Deny from all
# Allow from .ez.no

  DAV svn
  SVNPath /var/www/nextgen

  # Limit write permission to list of valid users.
  <Limit GET PROPFIND OPTIONS REPORT>
     # Require SSL connection for password protection.
     # SSLRequireSSL

     AuthType Basic
     AuthName "Authorization from zev"
     AuthUserFile /var/www/nextgen/svn.user
     Require valid-user
  </Limit>
</Location>

But still I only get the "anonymous" user on commits, what's wrong?

-- 
- Jan Borsodi <jb_at_ez.no> - Systems Engineer @ eZ systems - Web: http://ez.no
  QtVu: http://www.qtvu.org  -  RegExplorer: http://regexplorer.sourceforge.net
  EMacro: http://emacro.sourceforge.net  -  Apollo: http://www.apolloplayer.org
---------------------------------------------------------------------
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:41:12 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.