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

Re: svn+ssh usernames

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2003-06-08 02:50:43 CEST

On Sat, 2003-06-07 at 20:08, Scott Moynes wrote:
> It is on Linux, and that's what I assumed, but tried just in case.

Well, the expected behavior is for the server to call getuid() (via
apr_uid_current()) and then getpwuid() on the result (via
apr_uid_name_get()) to find the username. If this fails, there is no
fallback to null (the authentication proces will fail instead); the only
reason you should get a null username over svn+ssh is if your system
doesn't define APR_HAS_USER for some odd reason.

(I just tried it myself using the head, and it works fine for me, so I'm
not sure what's wrong on your system. That code hasn't changed much in
quite a while.)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Jun 8 02:51:36 2003

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.