On Fri, 22 Nov 2002, Swen Thuemmler wrote:
> 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.
There is another option. APR has it's own implementation of apr_getpass
which should have that limitation. Try forcing that version of the code
to be compiled into APR. If that works, we can fix APR to use our own
code instead of the Solaris function.
Ryan
---------------------------------------------------------------------
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:40:27 2002