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

RE: Empty username in repo

From: Králik Barnabás <kralikba_at_msn.com>
Date: Sat, 6 Mar 2010 16:31:41 +0100

Thanks for the hint! Turns out there was a <Limit GET OPTIONS PROPFIND>
around the access control's Requires', and NetBeans didn't find it needed to
forcefully send authentication info.

Barnabás Králik

-----Original Message-----
From: David Weintraub [mailto:qazwart_at_gmail.com]
Sent: Friday, March 05, 2010 2:45 PM
To: Králik Barnabás
Cc: users_at_subversion.apache.org
Subject: Re: Empty username in repo

You said you were using HTTP. Have you looked at the Apache Access
Log? On Redhat, those are in /var/logs/httpd/access_log. I'm not sure
where they are on Windows. On a Mac, you can find it under the
Console.app application.

Subversion itself doesn't have a user database. It gets the user name
from either the environment the user is on, or in the case of HTTP,
from the Apache server. The Apache Access Log will at least let us see
whether or not the user was able to do the commit without signing on.

Is possible that someone used the file:// protocol on the Subversion
repository server itself? Most shops have their Subversion repository
server unaccessible to their users. However, I've seen a few shops
which use a desktop machine for their server, and users are able to
access that machine directly.

On Fri, Mar 5, 2010 at 3:06 AM, Králik Barnabás <kralikba_at_msn.com> wrote:
> I do require the user to sign in. I'm not running svnsync.
> Also, svn pl -r 19 (19 is a revision in which "?"-authored files appear)
says nothing.
>
> Barnabás Králik
>
> -----Original Message-----
> From: David Weintraub [mailto:qazwart_at_gmail.com]
> Sent: Friday, March 05, 2010 7:34 AM
> To: Králik Barnabás
> Subject: Re: Empty username in repo
>
> Several things:
>
> Do you reqire the user to sign on?  If not, it is possible for the
> user name to be blank.
>
> Another possibility, is it possible that someone or some process did a
> "svn propset --revprop -r $rev svn:author" on the repository? That'll
> change the author's name (and can make it blank). You're not running
> svnsync. Are you?
>
> --
> David Weintraub
> David_at_Weintraub.name
> Sent from my iPhone while riding in my Ferrari. (Jealous?)
>
> On Mar 4, 2010, at 6:54 PM, Králik Barnabás <kralikba_at_msn.com> wrote:
>
>> Hello!
>>
>>
>>
>> As an SVN server I have subversion 1.6.9 w/mod_svn 1.6.9 on a Debian
>> box. Authentication is HTTP Basic through HTTPS against an LDAP
>> directory. Sometimes when doing a commit the username field is empty
>> in the repository (svn ls shows a "?"). I am using two clients:
>> TortoiseSVN (1.6.7.18415 64 bit built against svn 1.6.9) and the
>> NetBeans bundled client (version 1.8.1.42.1) Where can I begin to
>> look for an answer? Has anyone gotten into such a problem?
>>
>>
>>
>> Thanks for your help,
>>
>> Regards,
>>
>> Barnabás Králik
>>
>>
>
>

-- 
David Weintraub
qazwart_at_gmail.com
Received on 2010-03-06 16:32:25 CET

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