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

Re: password collection issues

From: David Everly <deckrider_at_gmail.com>
Date: 2006-08-15 00:41:16 CEST

Hi Karl, thanks for responding.

It is looking to us like the issue is in HP-UX getpass(), whose man
page indicates that it truncates what is entered to the first 8
characters. This is from within apr, whose configure tests could not
find getpassphrase, but only getpass.

For our purposes, I'm editing the configure script for apr to not
check for getpass, so that apr is forced to use its internally
provided mechanism.

I'm sure there is a better fix for this that what we did, but I'm not
sure exactly what that would be.


On 8/14/06, Karl Fogel <kfogel@google.com> wrote:
> "David Everly" <deckrider@gmail.com> writes:
> > I've compiled subversion 1.3.2 with openldap 2.3.24 and apache httpd 2.2.3
> > on HP-UX B.11.23 ia64 with the HP compilers (32 bit compiles-- 64 bit
> > seems to crash during ldap authentication).
> >
> > I have ldap authentication setup, and somewhat working, but here is
> > where it becomes curious.
> >
> > If I run 'svn commit -m "some message" --username deverly', a prompt
> > appears where I can enter my password. At this stage, authentication
> > fails.
> >
> > However, if I add --password to the above (specifying my password),
> > authentication works! My password begins and ends with a letter and
> > contains only letters and numbers while I'm running this test, and
> > before testing, I have removed my ~/.subversion directory.
> >
> > Any ideas where I could look for clues to the trouble so I can try to
> > fix the issue?
> Can you find the place in the code where Subversion is about to send
> the password over the network and have it print to the terminal there,
> so you can see whether it's got the same data in both cases?
> (I don't know where that is off the top of my head, but it probably
> wouldn't be too hard to track down...)

ASCII ribbon campaign:
()  against HTML email
/\  against Microsoft attachments
    Information:  http://www.expita.com/nomime.html
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Aug 15 00:42:24 2006

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.