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

Re: Whitespace in svn:author

From: Stefan Sperling <stsp_at_elego.de>
Date: Tue, 1 Dec 2009 11:13:42 +0100

On Mon, Nov 30, 2009 at 09:42:24PM +0100, Dag-Erling Smørgrav wrote:
> David Shere <dshere_at_steelerubber.com> writes:
> > I think a bigger question might be why and/or how the server accepted
> > a commit by such a user. I have tried to duplicate your problem by
> > creating users with leading spaces in their name. When I do, my
> > commits (and checkouts) fail with the message
> > "/home/david/tempRepo/conf/passwd:10: Option expected". This problem
> > magically goes away when I remove usernames with leading spaces from
> > the passwd file and restart the server daemon.
>
> Well, a) there is no passwd file - it uses LDAP to authenticate users -
> and b) of course there is no leading space in the LDAP directory; I
> suspect that what happened was that he typed a space before his login
> name when he was asked for authenticatation, and for some reason, the
> client did not strip it and both the Apache LDAP authentication module
> and the Subversion server accepted it. I have no idea what client he
> used, but the server is definitely 1.4.2 (the server runs Debian Etch,
> AFAIK). If I had to guess, I'd say he's probably running Ubuntu Hardy,
> which is the reference platform for the software in that repo, so 1.5.1.

I find it hard to believe that ldap and svn have a bug where additional
spaces around the user name don't cause an authentication failure.

Are you sure this svn:author property not been propedited?

Stefan

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2425825

Please start new threads on the <users_at_subversion.apache.org> mailing list.
To subscribe to the new list, send an empty e-mail to <users-subscribe_at_subversion.apache.org>.
Received on 2009-12-01 11:14:41 CET

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.