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

password-db syntax error, 1.4.2

From: D. Stimits <stimits_at_comcast.net>
Date: 2007-01-21 09:07:28 CET

I recently installed version 1.4.2 x86_64 linux rpm's on CentOS 4.4. I'm
trying to get the apache mod_dav stuff to work. I was able to get blank
plain vanilla basic auth working, but cannot seem to get
AuthzSVNAccessFile to authenticate. I have all caching turned off on the
client, and all cache files checked to be sure this is true. SSL is
working correctly, verified under non-Authz and other directories which
are unrelated to the repository. All SElinux contexts are correct for
the /var/www/ directory and recursively into all directories which are
subdirectories thereof. The server is restarted each time changes are
made. The actual password file is created with htpasswd.

The checkout:
svn co https://some.domain.com/svn/helloworld/

My apache config:
<Location /svn>
   DAV svn
   SVNParentPath /var/www/svn
   SSLRequireSSL
   AuthzSVNAccessFile /etc/authz-svn
   Require valid-user
   AuthType Basic
   AuthName "Subversion Repository"
   AuthUserFile /etc/passwd-httpd
</Location>

My /etc/authz-svn, with user names changed:
[general]
password-db = /etc/passwd-httpd
[groups]
devel = name1, name2, name3
[helloworld:/var/www/svn/helloworld]
name1 = rw

I try to login with name1. The apache SSL error log shows:
Failed to load the AuthzSVNAccessFile: The character 'd' in rule
'password-db' is not allowed in authz rules
Access denied: 'name1' PROPFIND helloworld:/

Is this the wrong syntax in apache config?
AuthzSVNAccessFile /etc/authz-svn

Is this the wrong syntax in the authz file?
password-db = /etc/passwd-httpd

All I can think of is that the actual user name starts with lower case
"d". Is there some rule that user names can't have the letter 'd'? I'm
very confused by this.

D. Stimits, stimits AT comcast DOT net

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Jan 21 09:05:16 2007

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