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

no author, using ra_dav, with basic realm authentication

From: Keven Ring <keven_at_mitre.org>
Date: 2004-03-25 19:59:48 CET

I am hoping that someone can shed some light into my situation.

I recently installed Subversion 1.0.1 from RPM onto a Fedora Core 1
system. I have set up http/webdav access, and I can check files in,
delete files, etc.

However, my checkins are always listed as having no author, even when I
am prompted for authentication.

Here is my setup/configuration files:

Single Repository, Multiple Projects
HTTP access
ACL via AuthzSVNAccessFile

Here is the relevant section in httpd.conf:

<Location /svn>
  DAV svn

# For now, we only have 1 repository in the /usr/local/svn directory...
  SVNPath /usr/local/svn
# Otherwise, we would use the following directive...
##############
# SVNParentPath /usr/local/svn
##############
                                                                                

  # SVN ACL
  AuthzSVNAccessFile /usr/local/svn/conf/acl
                                                                                

  Satisfy Any
  Require valid-user
                                                                                

  # How to authenticate a user using basic HTTP authentication
  AuthType Basic
  AuthName "Subversion Repository"
  AuthUserFile /usr/local/svn/conf/http_auth_file
                                                                                

  SVNIndexXSLT "/svnindex.xsl"
</Location>

Here is my /usr/local/svn/conf/acl file:
[/]
* = r
admin = rw

[/test]
* =
guest = r
keven = rw

Users admin, guest, and keven have been added to the http_auth_file via
htpasswd -m

To import the test module, I did the following [with the output received]:
[keven@machine]# svn import -m "Test Repository" test
http://machinename.mitre.org/svn/test
Authentication realm: <http://machinename.mitre.org:80> Subversion
Repository
Password for 'keven':
Authentication realm: <http://machinename.mitre.org:80> Subversion
Repository
Username: admin
Password for 'admin':
Adding test/file

Commited revision 10.
[keven@machine]#

As you can see, it prompted me for for username/password credentials.

I then removed the test directory, and checked it out from SVN, edited
the single file, and attempted to commit it:
[keven_at_machine]# svn co http://machinename.mitre.org/svn/test
Authentication realm: <http://machinename.mitre.org:80> Subversion
Repository
Password for 'keven':
Authentication realm: <http://machinename.mitre.org:80> Subversion
Repository
Username: guest
Password for 'guest':
A test/file
Checked out revision 10.
[keven@machine]# cd test
[keven@machine]# svn log file
------------------------------------------------------------------------
r10 | (no author) | 2004-03-25 13:31:23 -0500 (Thu, 25 Mar 2004) | 1 line
 
Test Repository
------------------------------------------------------------------------
[keven@machine]# vi file
[keven@machine]# svn ci file
Sending file
Authentication realm: <http://machinename.mitre.org:80> Subversion
Repository
Password for 'keven':
Authentication realm: <http://machinename.mitre.org:80> Subversion
Repository
Username: guest
Password for 'guest':
Authentication realm: <http://machinename.mitre.org:80> Subversion
Repository
Username: guest
Password for 'guest':
svn: Commit failed (details follow):
svn: CHECKOUT of /svn/!svn/ver/10/test/file: authorization failed
(http://machinename.mitre.org)
svn: Your commit message was left in a temporary file:
svn: '/home/keven/test/svn-commit.tmp'
[keven@machine ~/test]$ svn ci file
Sending file
Authentication realm: <http://machinename.mitre.org:80> Subversion
Repository
Password for 'keven':
Transmitting file data .
Committed revision 11.
[keven@machine ~/test]$ svn log file
------------------------------------------------------------------------
r11 | (no author) | 2004-03-25 13:35:21 -0500 (Thu, 25 Mar 2004) | 2 lines
 
Revision #1
 
------------------------------------------------------------------------
r10 | (no author) | 2004-03-25 13:31:23 -0500 (Thu, 25 Mar 2004) | 1 line
 
Test Repository
------------------------------------------------------------------------

So, my question is, given that I am authenticating, and the ACL appears
to be working [user guest was not allowed to check the change in, but
keven was], why do I have no author????

Thanks in advance for any help that can be given!
Received on Thu Mar 25 20:00:33 2004

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