How to enable Windows Authentication

May 4, 2011 at 8:38 AM

I would like enable svnbridge only with Windows authentication. So i found in the method SvnBridge.Net.HttpContextDispatcher.GetCredential that Windows authentication isn't supported. So a change the code and add this else if:

else if ((authorizationHeader.StartsWith("Negotiate")) || (authorizationHeader.StartsWith("NTLM")))
 return CredentialCache.DefaultNetworkCredentials;

After this i change on iis that windows authentication is enabled and digest is disabled. On firefox and ie works fine but with tortouise i can't connect. Has anyone a idea why it doens't work?


May 17, 2011 at 10:10 PM

Probably because IE and Firefox support Kerberos and your SVN client doesn't.  I bet if you used Safari it wouldn't work, because it doesn't support Kerberos by default.