All of lore.kernel.org
 help / color / mirror / Atom feed
* forcing a user@ into the URL if not present
@ 2015-04-22 20:06 Dan Langille
  2015-04-30 20:14 ` Dan Langille
  0 siblings, 1 reply; 10+ messages in thread
From: Dan Langille @ 2015-04-22 20:06 UTC (permalink / raw)
  To: git

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.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-05-06 17:18 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-22 20:06 forcing a user@ into the URL if not present Dan Langille
2015-04-30 20:14 ` Dan Langille
2015-04-30 20:23   ` brian m. carlson
2015-05-04 19:35     ` Dan Langille
2015-05-05 12:35       ` Dan Langille
2015-05-05 13:59         ` Johannes Schindelin
2015-05-05 17:45           ` Junio C Hamano
2015-05-06  4:52             ` Torsten Bögershausen
2015-05-06  5:29               ` Johannes Schindelin
2015-05-06 17:18                 ` Junio C Hamano

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.