I am using git repo with git-http-backend. In apache2, I have a place that requires authentication for cloning and push actions. When I protected its location with AuthType Basic everything worked fine, git is authenticated and can clone and click, but if I change the type to KerberosV5 git, then I cannot access the repo with the correct credentials. If I use my browser, I have access to the location that is needed to protect the keberos.
git clone http:// user@mydomain.com /git/myapp.git Initialized empty Git repository in /tmp/myapp/.git/ Password: error: The requested URL returned error: 401 while accessing http:// user@mydomain.com /git/myapp.git/info/refs fatal: HTTP request failed
and in apache error logs
[Fri Aug 06 17:15:50 2010] [debug] src/mod_auth_kerb.c(1579): [client 192.168.12.153] kerb_authenticate_user entered with user (NULL) and auth_type KerberosV5 [Fri Aug 06 17:15:50 2010] [debug] src/mod_auth_kerb.c(1579): [client 192.168.12.153]kerb_authenticate_user entered with user (NULL) and auth_type KerberosV5
git -core 1: 1.7.1-1 ~ bpo50 + 1 apache2 2.2.9-10 + lenny8 libapache2-mod-auth-curb 5.3-5
source share