Re: Support various HTTP authentication methods

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Junio C Hamano <gitster@xxxxxxxxx> [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@xxxxxxxxxxx:8086/xxxxxxx.git/HEAD for HEAD
    The requested URL returned error: 400
    Getting alternates list for http://xxx:xxx@xxxxxxxxxxx:8086/xxxxxxx.git
    Getting pack list for http://xxx:xxx@xxxxxxxxxxx:8086/xxxxxxx.git
    Getting index for pack a9bed5817173acdf0a2dc86ddaf36c4f0c7f9ea3
    error: Unable to get pack index http://xxx:xxx@xxxxxxxxxxx:8086/xxxxxxx.git/objects/pack/pack-a9bed5817173acdf0a2dc86ddaf36c4f0c7f9ea3.idx
    The requested URL returned error: 400
    error: Unable to find 7ec6910c4d1733d575f955063fd52b2b0ae7ca5b under http://xxx:xxx@xxxxxxxxxxx: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 - </xxxxxxx.git/info/refs> does not match request-uri </xxxxxxx.git/HEAD>
    [Wed Feb 04 19:49:15 2009] [error] [client 192.168.1.1] Digest: uri mismatch - </xxxxxxx.git/objects/info/packs> does not match request-uri </xxxxxxx.git/objects/pack/pack-a9bed5817173acdf0a2dc86ddaf36c4f0c7f9ea3.idx>

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 // <http://plasmasturm.org/>
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux