[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: Dag-Erling Smørgrav <des_at_des.no>
Date: Mon, 30 Nov 2009 21:42:24 +0100

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.

DES

-- 
Dag-Erling Smørgrav - des_at_des.no
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2425668
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-11-30 21:43:54 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.