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

Re: First commit fails??

From: Dominic Anello <danello_at_danky.com>
Date: 2005-03-16 16:58:45 CET

On 2005-03-16 09:07:09 -0500, Brian Fohl wrote:
> When someone commits a file for the first time, it always fails
> authenication. After that, on a second try, they are able to
> authenticate and commit fine. What gives? Is this a known bug? I
> haven't been able to find anything on it.
>
> We are running SVN 1.13 on Apache 2, Windows 2000 Server, using LDAP
> authentication into Active Directory.
>
> Thanks,
> Brian

Sorry to post again, but another possibility, especially if you are
using mod_authz_svn, as well, is that the user has credentials cached
that have read access but not write access to the files being checked
in.

For example if you have something like this in your authz ini file:
[/trunk]
foo = r
bar = rw

Then if someone checks out trunk as foo and tries to check in they will
open a transaction as foo, but write access to trunk will fail. They
will then get prompted for a user/password. If they they respond by
logging in as bar, the commit will still fail, but then if they retry,
svn will use the cached credentials for bar from the beginning.

The symptom of this problem is a message like the following in the
apache log:
[Tue Mar 08 13:53:08 2005] [error] [client 111.222.333.444] (2)No such file or directory: Multi-author commits not supported. [501, #0]

hope this helps,

Dominic

-- 
You're so beautiful, it hurts to look at you.

  • application/pgp-signature attachment: stored
Received on Wed Mar 16 16:57:14 2005

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.