gss_acquire_cred() failed

Nicolas Jaunet nicolas.jaunet at gmail.com
Mon Jun 14 05:04:19 EDT 2010


Hi !

I installed mod_auth_kerb on my debian server and create a keytab to
authenticate thanks to kerberos on a web site with apache tomcat.
I created a user in my kdc.
To check I did that :

debian-server# klist -k krb5.keytab
Keytab name: FILE:krb5.keytab
KVNO Principal
----
--------------------------------------------------------------------------
   3 HTTP/domain.fr at DOMAIN.FR


And the file /etc/apache2/kerberos.conf :

AuthType Kerberos
AuthName "Kerberos Login"
KrbMethodNegotiate on
KrbVerifyKDC off
KrbMethodK5Passwd off
KrbAuthRealms DOMAIN.FR
Krb5KeyTab /etc/apache2/krb5.keytab
require valid-user


When I try to connect my web site with http://domain.fr
I have a 500 Internal Server Error and the error.log file show me this error
:

gss_acquire_cred() failed: Unspecified GSS failure.  Minor code may provide
more information (No principal in keytab matches desired name)

Someone can help me ?
Thanks.



More information about the Kerberos mailing list