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

Re: Proxy authentication with Negotiate uses wrong host

From: Stefan Sperling <stsp_at_elego.de>
Date: Tue, 23 Aug 2011 23:40:28 +0200

On Tue, Aug 23, 2011 at 10:47:35PM +0200, Michael-O wrote:
> I made some digging in the subversion and neon code and notices some
> interesting and odd stuff.
>
> If you take a look at the aforementioned session.c in line 865 [1]
> you'll see that the code is correct, Negotiate auth is added if no
> proxy_username is set. So my assumption was correct. It should work
> out-of-the box.

Yes, you're right. It seems I misread this and didn't notice
the 'else' part which also enables Negotiate auth. Sorry.

> Digging deeper into that file shows that Negotiate auth for servers
> (not proxy servers) is done only when the server is servered with
> HTTPS [2].

Having taken a brief glance it looks as if you can override this
via the http-auth-types option in ~/.subversion/servers.
Have you tried that?

> I took a look back at neon_auth.h (define
> NE_AUTH_NEGOTIATE) [3] and it constantly says that Digest and
> Negotiate are unsecure and require a secure connection which is
> complete non-sense. Kerberos was designed to provide security in
> unsecure networks. This is definitively wrong documentation.

Not sure if this documentation is generally wrong.
It can depend on what kinds of assumptions people make about security.
Please verify this question with the neon devs.
Received on 2011-08-23 23:41:03 CEST

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.