Re: [PATCH v3] remote-curl: fall back to Basic auth if Negotiate fails
- From
brian m. carlson <sandals@crustytoothpaste.net>
- Date
- Mar 11, 2015, 21:59 UTC
- Message-ID
- <20150311215919.GA46326@vauxhall.crustytoothpaste.net>
- In-Reply-To
- <68DFACB3-5EA7-4414-9B74-B4E6F6A417B9@cisco.com>
On Wed, Mar 11, 2015 at 07:33:05PM +0000, Dan Langille (dalangil) wrote:
Show 12 quoted lines
>> On Mar 10, 2015, at 6:29 PM, brian m. carlson <sandals@crustytoothpaste.net> wrote: >> Does it work with a ticket if you specify a username, as in the >> following URL? >> https://bmc@git.crustytoothpaste.net/git/bmc/homedir.git > >Yes, that does work. Our project is 98% of the way there now. > >I looked at both libcurl and git environment variables to see if there >was a way to specify the user without putting it in the URL. I didn’t see one. > >My next step is the git configuration, either server or client. Do you know >if I should stop looking now because it’s not there?
You might try looking at git config --help. It looks like there's a credential.username option that might do what you want.
-- brian m. carlson / brian with sandals: Houston, Texas, US +1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187