git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Git + mod_auth_kerb

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 22, 2014, 17:00 UTC
Message-ID
<xmqqfvhtgwgp.fsf@gitster.dls.corp.google.com>
In-Reply-To
<20140721231721.GB5616@vauxhall.crustytoothpaste.net>
"brian m. carlson" <sandals@crustytoothpaste.net> writes:
Show 9 quoted lines
> So git uses libcurl with CURLAUTH_ANY.  In order for authentication to
> work with libcurl, you have to supply a username.  If you specify it in
> the URL, the libcurl realizes that it can use Kerberos, and goes on its
> merry way.
>
> If you don't specify the username in the URL, git notices that
> authentication has failed, and asks the credential store for a username
> and password.  git does not know that a password is not needed, so the
> credential subsystem prompts for one anyway.

Hmmm, does this hint that we might want to be able to tell the credential subsystem that it is sufficient to have name without password, or allow the credential subsystem to say "I am giving you sufficient information" when it returns only username without password?

Previous: brian m. carlsonNext: brian m. carlson
Message 5 of 7 in “Git + mod_auth_kerb”
  1. Jean-Francois BouchardJul 21, 2014
  2. brian m. carlsonJul 21, 2014
  3. Jean-Francois BouchardJul 22, 2014
  4. brian m. carlsonJul 23, 2014
  5. Junio C HamanoJul 22, 2014
  6. brian m. carlsonJul 22, 2014
  7. brian m. carlsonJul 26, 2014

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.