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

Re: [neon] Re: "Authorization failed" with windows server and solaris client

From: Joe Orton <joe_at_manyfish.co.uk>
Date: 2002-09-30 21:35:34 CEST

On Mon, Sep 30, 2002 at 12:52:26PM -0500, Florin Iucha wrote:
> On Tue, Sep 24, 2002 at 11:10:10AM -0500, Florin Iucha wrote:
> > Hello,
> >
> > I have sucessfully installed a Subversion servers using Apache 2.0.42
> > prerelease install and Subversion-r3200 on windows. I have configured
> > the subversion repository to use basic authentication. I have compiled
> > the client on Solaris using the r3200 source tarball.
> >
> > I can checkin/checkout fine using a windows client (svn.exe from the
> > r3200 zip file) but when I attempt to do a checkout from Solaris using the
> > same URL, it fails with:
> >
> > > svn co http://ahost__:8080/svn/scripts work
> > fiucha's password:
> >
> > username: fiucha
> > fiucha's password:
> >
> > svn: Authorization failed
> > svn: PROPFIND of /svn/scripts: authorization failed
>
> I have compiled subversion in maintainer mode, enabled neon logging to
> stderr and then manually generated the base64 encoded password and
> compared its length to the number of xxxes in the dumped header. Lo and
> behold, the Authorization header generated by neon contained 4 xes less
> than the one I manually generated.

Hi, can you change the debug line in libsvn_ra_dav/session.c from:

  ne_debug_init(stderr, NE_DBG_HTTP|NE_DBG_HTTPBODY);
to:
  ne_debug_init(stderr, NE_DBG_HTTP|NE_DBG_HTTPBODY|NE_DBG_HTTPPLAIN);

and post the debug log of a session using a non-sensitive long password?

I can't reproduce any problems using long passwords over basic auth with
neon here - bear in mind that 'x'es in the neon debug output includes
the "Basic " string and the base64 encoded text includes the username
and a colon.

Regards,

joe

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Sep 30 21:36:34 2002

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