[27559] in Kerberos
Re: Bizzare problem with authenticating a service principal with
daemon@ATHENA.MIT.EDU (Douglas E. Engert)
Mon Mar 12 12:02:04 2007
Message-ID: <45F57968.4020200@anl.gov>
Date: Mon, 12 Mar 2007 11:01:44 -0500
From: "Douglas E. Engert" <deengert@anl.gov>
MIME-Version: 1.0
To: Jason Testart <jatestart@cs.uwaterloo.ca>
In-Reply-To: <45F4B82D.8020604@cs.uwaterloo.ca>
Cc: kerberos@mit.edu
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: kerberos-bounces@mit.edu
You did not provide the host name, the default realm name in
the krb5.conf, the AD domain name or the ktpass command you used.
I have seen many people have problems with the names. If Tom's
or Jeff's suggestions don't help. have a look at the names.
Jason Testart wrote:
> I'm trying to get pam_krb5 working with an Active Directory domain. It
> works when I don't have a krb5.keytab file but it doesn't when I do,
> since the verification of the TGT using the service principal fails with
> an error: "Key table entry not found". The keytab file is simple as it
> only contains the "host" service principal for the Ubuntu Linux box that
> I am testing with.
>
> So, I figured I screwed-up somehow with the generation of the keytab
> file using ktpass.exe. However, I don't think I did. When I run "klist
> -k", copy the principal name from the output, and paste that principal
> name to the end of "kinit -k", I still get the error:
>
> kinit(v5): Key table entry not found while getting initial credentials
>
> I am ready to pull all of my hair out. I ran strace on the invocation
> of kinit, and it seems to be reading the keytab file properly, and I ran
> tcpdump to see what's going on there. While at one point I saw "preauth
> required", turning off preauth in the AD Account settings for that
> principal seems to have fixed that.
>
> Does anybody have any ideas? Could I be missing something very obvious?
>
> Note: I have created host service principals for other hosts and the
> "kinit -k <host principal>" works fine. The other hosts are running
> Solaris 8 with a locally built v1.6. On the Linux platform, I am using
> the Ubuntu/Debian package (patched v1.4.3, I think). I am striving to
> stick with pre-packaged software.
> ________________________________________________
> Kerberos mailing list Kerberos@mit.edu
> https://mailman.mit.edu/mailman/listinfo/kerberos
>
>
--
Douglas E. Engert <DEEngert@anl.gov>
Argonne National Laboratory
9700 South Cass Avenue
Argonne, Illinois 60439
(630) 252-5444
________________________________________________
Kerberos mailing list Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos