threads / discuss / 44591

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

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

## tl;dr

3 messages between Dec 2, 2016 and Dec 5, 2016.

replies: 2people: 3as markdown or json

Jeff King· Dec 2, 2016, 22:21 UTC · re: ken edward · lore

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

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".

-Peff
brian m. carlson· Dec 5, 2016, 02:31 UTC · re: Jeff King · lore

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

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

← back to recent threads