TortoiseSVN 1.8.2 (presumably all 1.8.x) unable to perform HTTP basic auth on server where 1.7 worked
From: Puetz Kevin A <PuetzKevinA_at_JohnDeere.com>
Date: Mon, 16 Sep 2013 21:29:08 +0000
We have an intranet subversion server whose authentication is handled as HTTP basic auth through CA SiteMinder. TortoiseSVN 1.7.x work fine with this setup, but 1.8 is unable to connect to it. TortoiseSVN 1.8.2 does prompt for the username/password, but all operations I have tried (log, update, repo browser) fail with the error "Error running context: The requested authentication type(s) are not supported".
Oddly, Wireshark shows that the TortoiseSVN GUI operations (but not the included svn.exe) do perform one GET that authenticates successfully, but the successful GET has a User-Agent of " Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Win64; x64; Trident/4.0; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.3)" rather than "SVN/1.8.3 (x64-microsoft-windows) serf/1.3.1 TortoiseSVN-1.8.2.24708". Perhaps tortoise uses WinHTTP to attempt proxy discovery or some such?
In any case, I did some investigating, and the underlying cause seems to be a serf bug, which I reported at https://code.google.com/p/serf/issues/detail?id=130.
This is now exposed since TortoiseSVN changed from svn_ra_neon to svn_ra_serf. SiteMinder is contributing by being a little weird - it sends the 401 header as "WWW-authenticate", instead of "WWW-Authenticate". But HTTP header names are not supposed to be case-sensitive, so serf is wrong.
There probably isn't anything for TortoiseSVN to do until someone working on serf looks into it and gets a fix applied, but I figured reporting it here anyway might help make it more searchable for anyone else having problems. And perhaps it will help get a fixed serf (once there is one) picked up into the TortoiseSVN nightly a bit faster :-)
------------------------------------------------------
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
|
This is an archived mail posted to the TortoiseSVN Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.