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

Re: Where is Doc to configure Git + Apache + kerberos for Project level access in repo?

From
brian m. carlson <sandals@crustytoothpaste.net>
Date
Dec 5, 2016, 02:31 UTC
Message-ID
<20161205023159.gzkqtfg3e63odtgt@genre.crustytoothpaste.net>
In-Reply-To
<20161202222153.3j5i5rsacybwexg6@sigill.intra.peff.net>
On Fri, Dec 02, 2016 at 05:21:53PM -0500, Jeff King wrote:
Show 7 quoted lines
> On Fri, Dec 02, 2016 at 01:15:02PM -0500, ken edward wrote:
> 
> > Where is Doc to configure Git + Apache + kerberos for Project level
> > access in repo?
> 
> I don't know about Kerberos, but all of the documentation in git for
> configuring Apache is found in "git help http-backend".

If you want to use Kerberos for authentication, it's really as simple as just using "AuthType Kerberos" instead of "AuthType Basic", plus whatever Kerberos parameters you want.

This is what my configuration looks like, but obviously you'll want to modify it a bit:

  AuthType Kerberos
  AuthName "Kerberos Login"
  KrbMethodNegotiate on
  KrbMethodK5Passwd off
  KrbAuthRealms CRUSTYTOOTHPASTE.NET
  Krb5Keytab /etc/krb5.apache.keytab
You may also want to set http.emptyAuth on the client side.
-- 
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | https://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: https://keybase.io/bk2204
Previous: Jeff King
Message 3 of 3 in “Where is Doc to configure Git + Apache + kerberos for Project level access in repo?”
  1. ken edwardDec 2, 2016
  2. Jeff KingDec 2, 2016
  3. brian m. carlsonDec 5, 2016

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.