[23195] in Kerberos

home help back first fref pref prev next nref lref last post

Kerberos and Apache Virtual Hosted Websites

daemon@ATHENA.MIT.EDU (Scott Moseman)
Fri Jan 14 12:47:17 2005

From: "Scott Moseman" <scmoseman@gmail.com>
Date: 14 Jan 2005 09:33:12 -0800
Message-ID: <1105723992.473938.247700@z14g2000cwz.googlegroups.com>
To: kerberos@mit.edu
Errors-To: kerberos-bounces@mit.edu

Host and Http keytabs created on the Windows server.
The keytabs moved to the Red Hat machine and imported
into the /etc/krb5.keytab file.

"klist -ke /etc/krb5.keytab" reports these 2 keytabs:
3 host/host.domain.com@DOMAIN.COM (DES cbc mode with RSA-MD5)
3 HTTP/vhost.domain.com@DOMAIN.COM (DES cbc mode with RSA-MD5)

kinit on both the Host and Http keytabs work just fine.
Setup an Apache website to authenticate using the HTTP.
Here is the htaccess file for the website:

AuthType Kerberos
KrbAuthRealms DOMAIN.COM
Krb5Keytab /usr/local/apache/conf/http.keytab
KrbMethodNegotiate on
KrbMethodK5Passwd on
require valid-user

When I attempt to access the website, vhost.domain.com,
I get this error message in the Apache error logs:

gss_acquire_cred() failed: Miscellaneous failure
(No principal in keytab matches desired name)

How can I further trouble shoot this Kerberos problem?
When I use kerbtray on my PC, it shows the correct name
for the Kerberos ticket (vhost.domain.com).  Any help?

Thanks,
Scott

________________________________________________
Kerberos mailing list           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos

home help back first fref pref prev next nref lref last post