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

Missing usernames in subversion 1.0 with Apache Server

From: <Jon.Bloomfield_at_3Dlabs.com>
Date: 2004-03-05 12:26:34 CET

Hi, I've recently installed subversion 1.0 on a Linux machine, and
configured an Apache server to export it to my organisation. Everything
seems to be running very smoothly, but even though I have configured
authentication I still get no usernames logged into the database, on
commits.

Note: This is not the same problem as described in the FAQ because I AM
being prompted for authorisation.

I have the following Apache configuration which is intended to prevent write
access to /P30/arch, to all but a specific group of users (architecture).

        <Location /P30>
          DAV svn
          SVNPath /etc/apache2/svn_config/repositories/P30
        </Location>

        # Only administrators may modify the top-level
        # Pattern matches /P30 or /P30/ only
        <LocationMatch "^/P30/*$">
          AuthType Basic
          AuthName "3Dlabs"
          AuthUserFile /etc/apache2/svn_config/users-file
          AuthGroupFile /etc/apache2/svn_config/groups-file

          <LimitExcept GET PROPFIND OPTIONS REPORT>
            Require user admin
          </LimitExcept>
        </LocationMatch>

        # Only architecture can modify /P30/arch
        # Architecture can modify any subdirectory from /P30/arch down
        <LocationMatch "^/P30/arch>
          AuthType Basic
          AuthName "3Dlabs"
          AuthUserFile /etc/apache2/svn_config/users-file
          AuthGroupFile /etc/apache2/svn_config/groups-file
          <LimitExcept GET PROPFIND OPTIONS REPORT>
             Require group architecture
          </LimitExcept>
        </LocationMatch>

The authorisation works perfectly, rejecting commits to /P30/arch if I do
not authenticate myself as a member of the architecture group. When I
provide a valid architecture username and password the commit proceeds, but
I don't see any usernames, even when I do "svnlook info".

Anyone know what I might be doing wrong ?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Mar 6 02:02:16 2004

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