mercurial on IIS with windows authentication

Matt Hawley Matt.Hawley at microsoft.com
Thu Apr 8 00:53:04 CDT 2010


You'll need to use basic authentication in IIS.

Matt

________________________________
From: mercurial-bounces at selenic.com [mercurial-bounces at selenic.com] on behalf of Aaron Ash [aaron.mercurial.list at gmail.com]
Sent: Wednesday, April 07, 2010 6:53 PM
To: mercurial at selenic.com
Subject: mercurial on IIS with windows authentication

Hi Everyone,

I've just finally got mercurial working with IIS 6 on windows server 2003 after following these instructions http://stackoverflow.com/questions/818571/how-to-setup-mercurial-and-hgwebdir-on-iis/2583846#2583846 .

What I want to do now is use windows authentication to limit access to the repositories.
I've set this up and it seems to be working as when I browse to hgwebdir.cgi using my web browser it asks for a username and password and then only allows me access if those are correct.
The problem I'm having is cloning the repository using tortoisehg.  I keep getting an error:
"abort: authorization failed

[command interrupted]"

I've tried putting the username and password in the url like this:
http://user:pass@my.server.com.au/mercurial/hgwebdir.cgi/Repos/Folder/

But I still get the same error.

How do I get TortoiseHG to clone from a repository using windows authentication?

cheers,
Aaron.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial/attachments/20100408/de529fc9/attachment.htm>


More information about the Mercurial mailing list