From: Jeff King <peff@peff.net>
To: Jason Pyeron <jpyeron@pdinc.us>
Cc: "'Pyeron, Jason J CTR (US)'" <jason.j.pyeron.ctr@mail.mil>,
git@vger.kernel.org
Subject: Re: Failure using webdav basic auth by git client
Date: Sun, 11 Nov 2012 13:28:42 -0500 [thread overview]
Message-ID: <20121111182842.GC21654@sigill.intra.peff.net> (raw)
In-Reply-To: <121F1C4AA6A845229D3DF5808B4F0F9E@black>
On Sun, Nov 11, 2012 at 01:09:02PM -0500, Jason Pyeron wrote:
> > My google fu has failed me on this issue. I am trying to setup http(s)
> > repositories for git. If I require authenticated users then git asks
> > for a username and password for the first volley of communications, but
> > then does not include the Authorization header on subsequent requests.
> [...]
> > > GET /git/test/info/refs?service=git-receive-pack HTTP/1.1
> > User-Agent: git/1.7.9
Can you try with a more recent git version? There were some bugs with
on-demand http auth when using the dumb protocol (which I see you are
using). They were fixed in v1.7.10.2 and higher.
Also, consider setting up the smart-http protocol, as it is way more
efficient.
-Peff
next prev parent reply other threads:[~2012-11-11 18:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-11 18:09 Failure using webdav basic auth by git client Jason Pyeron
2012-11-11 18:28 ` Jeff King [this message]
2012-11-12 12:27 ` Pyeron, Jason J CTR (US)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20121111182842.GC21654@sigill.intra.peff.net \
--to=peff@peff.net \
--cc=git@vger.kernel.org \
--cc=jason.j.pyeron.ctr@mail.mil \
--cc=jpyeron@pdinc.us \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).