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

Re: no author, using ra_dav, with basic realm authentication

From: Christian Stocker <chregu_at_bitflux.ch>
Date: 2004-03-25 20:55:15 CET

On 3/25/04 7:59 PM, Keven Ring wrote:
> 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

I had the same problem. See
http://subversion.tigris.org/servlets/ReadMsg?list=users&msgNo=8111 for
an answer

chregu

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

-- 
christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich
phone +41 1 240 56 70 | mobile +41 76 561 88 60  | fax +41 1 240 56 71
http://www.bitflux.ch  |  chregu_at_bitflux.ch  |  gnupg-keyid 0x5CE1DECB
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Mar 25 20:57:06 2004

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.