Hello,
first sorry for my poor english:
I try to setup kerberos authentication on apache for access to gerrit
I can make it work when i use kerberos login/password but now I whant
to use kerberos ticket and when i try it gerrit give me that error :
The HTTP server did not provide the username in the Authorization
header when it forwarded the request to Gerrit Code Review
After a tcpdump i can see in the http request that apache is
forwarding the kerberos ticket to gerrit.
so my question is : Is it possible to tell apache to give the username
to gerrit instead of the kerberos ticket?
here my apache et gerrit configuration file
apache :
<VirtualHost *:80>
ServerName gerrit
ProxyRequests Off
ProxyVia Off
ProxyPreserveHost On
<Location "/login/">
AuthName "Gerrit Code Review"
Require valid-user
Options none
Order allow,deny
Allow from all
AuthType KerberosV5
Krb5Keytab /etc/apache2/krb5.keytab
</Location>
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /
http://127.0.0.1:8080/
ProxyPassReverse /
http://127.0.0.1:8080/
</VirtualHost>
gerrit:
[gerrit]
basePath = git
canonicalWebUrl =
http://gerrit/
[database]
type = H2
database = db/ReviewDB
[auth]
type = HTTP
[sendemail]
smtpServer = localhost
[container]
user = git
javaHome = /usr/lib/jvm/java-6-sun-1.6.0.26/jre
[sshd]
listenAddress = *:29418
[httpd]
listenUrl = proxy-http://*:8080/
[cache]
directory = cache
thanks