From: Aristotle Pagaltzis Date: Wed, 04 Feb 2009 18:51:09 GMT Subject: Re: Support various HTTP authentication methods Message-ID: <20090204185109.GA31250@klangraum.plasmasturm.org> In-Reply-To: <1233556274-1354-4-git-send-email-gitster@pobox.com> * Junio C Hamano [2009-02-02 07:35]: > This patch allows users to specify the authentication method if > supported by CURL, adding a couple of new settings and > environment variables listed below (the names within the > parentheses indicate the environment variables.) I tried this patch against my Apache WebDAV server for which I use Digest auth, but it didn’t get very far: Initialized empty Git repository in /tmp/xxxxxxx/.git/ error: Couldn't get http://xxx:xxx@example.org:8086/xxxxxxx.git/HEAD for HEAD The requested URL returned error: 400 Getting alternates list for http://xxx:xxx@example.org:8086/xxxxxxx.git Getting pack list for http://xxx:xxx@example.org:8086/xxxxxxx.git Getting index for pack a9bed5817173acdf0a2dc86ddaf36c4f0c7f9ea3 error: Unable to get pack index http://xxx:xxx@example.org:8086/xxxxxxx.git/objects/pack/pack-a9bed5817173acdf0a2dc86ddaf36c4f0c7f9ea3.idx The requested URL returned error: 400 error: Unable to find 7ec6910c4d1733d575f955063fd52b2b0ae7ca5b under http://xxx:xxx@example.org:8086/xxxxxxx.git Cannot obtain needed object 7ec6910c4d1733d575f955063fd52b2b0ae7ca5b fatal: Fetch failed. The server error log contained the following lines: [Wed Feb 04 19:49:14 2009] [error] [client 192.168.1.1] Digest: uri mismatch - does not match request-uri [Wed Feb 04 19:49:15 2009] [error] [client 192.168.1.1] Digest: uri mismatch - does not match request-uri Does that have to do with something being missing in the Digest support or is that operator error? If the latter, what might be the culprit – how do I diagnose it? Regards, -- Aristotle Pagaltzis //