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

Re: LDAP and Subversion

From: Swen Thuemmler <swen_at_mediaways.net>
Date: 2002-11-22 15:13:54 CET

On Fri, Nov 22, 2002 at 08:55:17AM -0500, Sean E. Russell wrote:
> <groan>
>
> Almost certainly. I *am* running the client from Solaris, and my
> password *is* longer than 8 characters.
>
> If this really is the problem, then where would the fix be? It seems
> ... unreasonable ... to require people to either (a) shorten their
> passwords or (b) use a different OS just to access the source
> repository. And why would this be peculiar to Solaris? There seem to
> be a number of source files that have something to do with
> authentication... subversion/libsvn_client/auth.c looks pretty
> straightforward.

The root of the problem is not in subversion but in apr. The commandline
client uses the apr routine apr_password_get() from apr_getpass.c in
subversion/clients/cmdline/prompt.c, and this in turn uses the systems
getpass() routine which on solaris seems to be limited to 8 chars. An option
would be (at least with Solaris) to use getpassphrase(), which returns
up to 256 characters.

Hope this helps.

--Swen

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Nov 22 15:14:41 2002

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.