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

Re: Odd problem with hpux and http authentication

From: Joe Orton <joe_at_manyfish.co.uk>
Date: 2004-09-02 22:46:56 CEST

On Thu, Sep 02, 2004 at 04:02:07PM -0400, Kasia Trapszo wrote:
> We're using web_dav and ntlm authentication (with fallback to basic) for
> our subversion setup. It works perfectly fine from windows, linux and
> solaris clients -- but hpux clients refuse to authenticate.
>
> Debugging this problem, it appears that hpux is encrypting the
> authorization header differently. Same username/password combination:
>
> hpux:
> a3RyYXBzem86a2FzaWFwYXM=
>
> Linux:
> a3RyYXBzem86a2FzaWFwYXNz
>
> Linux authenticates fine, hpux fails. It appears the first few bits are
> username, then password, then checksum? I'm not well versed in this, so
> only a guess.

It's just the base64 encoding of username ":" password. Somewhere the
last character of the password is getting lost. I would suggest adding
some debugging to the neon file ne_auth.c in the function
basic_challenge(): add a fprintf(stderr, "PASSWORD: %s\n", password);
after the call to get_credentials to see if the password is getting to
neon OK.

The neon Basic auth tests pass fine here on an HP-UX 11.00 box.

joe

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Sep 2 22:47:23 2004

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