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

Re: serf error handling for locks without authn

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Mon, 03 Jun 2013 23:09:29 +0100

Greg Stein <gstein_at_gmail.com> writes:

> On Mon, Jun 3, 2013 at 5:14 PM, Philip Martin
> <philip.martin_at_wandisco.com> wrote:
>> http://subversion.tigris.org/issues/show_bug.cgi?id=4368
>>
>> Locking with anonymous http fails because there is no username. At
>
> That should be allowed. A WebDAV lock does not require an owner.

svn_fs_lock requires a username.

 * @a fs must have a username associated with it (see
 * #svn_fs_access_t), else return #SVN_ERR_FS_NO_USER. Set the
 * 'owner' field in the new lock to the fs username.

What is mod_dav_svn going to do, invent a username?

>> present mod_dav_svn returns "401 Unathorized" however
>
> Do you know where/why this is happening?

mod_dav_svn/locks.c:append_locks.

-- 
Certified & Supported Apache Subversion Downloads:
http://www.wandisco.com/subversion/download
Received on 2013-06-04 00:10:03 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.