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

Re: forcing a user@ into the URL if not present

From
DLDan Langille <dlangille@sourcefire.com>
Date
Apr 30, 2015, 20:14 UTC
Message-ID
<CABU7BddHuiYK4s+_+Z9v15D+Nj8icMQSWNY13TZ77wq8Vo6r+A@mail.gmail.com>
In-Reply-To
<CABU7BddjAZOk0LyybQ8phO0S4705MrZtLSYEsjzUBKUD=H++RQ@mail.gmail.com>
Would this question be better suited for another list?
On Wed, Apr 22, 2015 at 4:06 PM, Dan Langille <dlangille@sourcefire.com> wrote:
Show 44 quoted lines
> Hello,
>
> I'm using git 2.3.2 with Kerberos for authentication and gito-lite for
> authorization.
>
> This works:
>
> $ git clone https://dvl@ repo.example.org/git/testing
> Cloning into 'testing'...
> warning: You appear to have cloned an empty repository.
> Checking connectivity... done.
>
> My goal: have it work without supplying dvl@ as shown here:
>
> $ git clone https://repo.example.org/git/testing
> Cloning into 'testing'...
> Username for 'https://repo.example.org':
>
> I don't want to be prompted for a password.  I want Kerberos to kick in.
>
> Following http://git-scm.com/docs/gitcredentials, the following seems to
> have nil effect.  Anyone used this feature already?
>
>   git config --global credential.https://repo.example.org.username dvl
>
> $ cat ~/.gitconfig
> [credential "https://repo.example.org"]
> username = dvl
> [http]
> sslCAInfo = /usr/local/etc/trusted-certificates.pem
>
> With the above, I still get prompted for a password
>
> Given my use of Kerberos for authorization, is this option feasible?
>
> Should I be taking a different approach?
>
> Thank you.
>
> --
> Dan Langille
> Infrastructure & Operations
> Talos Group
> Sourcefire, Inc.
-- 
Dan Langille
Infrastructure & Operations
Talos Group
Sourcefire, Inc.
Previous: Dan LangilleNext: brian m. carlson
Message 2 of 10 in “forcing a user@ into the URL if not present”
  1. Dan LangilleApr 22, 2015
  2. Dan LangilleApr 30, 2015
  3. brian m. carlsonApr 30, 2015
  4. Dan LangilleMay 4, 2015
  5. Dan LangilleMay 5, 2015
  6. Johannes SchindelinMay 5, 2015
  7. Junio C HamanoMay 5, 2015
  8. Torsten BögershausenMay 6, 2015
  9. Johannes SchindelinMay 6, 2015
  10. Junio C HamanoMay 6, 2015

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.