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

AW: serf error handling for locks without authn

From: Markus Schaber <m.schaber_at_codesys.com>
Date: Tue, 4 Jun 2013 08:47:14 +0000

Hi,

Von: Philip Martin [mailto:philip.martin_at_wandisco.com]
> 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?

I'd say: yes.

Probably something based on the ip or hostname requesting the lock, or "anonymous_webdav_user".
 

Best regards

Markus Schaber

CODESYS(r) a trademark of 3S-Smart Software Solutions GmbH

Inspiring Automation Solutions

3S-Smart Software Solutions GmbH
Dipl.-Inf. Markus Schaber | Product Development Core Technology
Memminger Str. 151 | 87439 Kempten | Germany
Tel. +49-831-54031-979 | Fax +49-831-54031-50

E-Mail: m.schaber@codesys.com | Web: http://www.codesys.com | CODESYS store: http://store.codesys.com
CODESYS forum: http://forum.codesys.com

Managing Directors: Dipl.Inf. Dieter Hess, Dipl.Inf. Manfred Werner | Trade register: Kempten HRB 6186 | Tax ID No.: DE 167014915
Received on 2013-06-04 10:48:10 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.