Reason for removing sname check?

Tomas Kuthan tomas.kuthan at
Wed Oct 10 11:27:46 EDT 2012


in MIT krb there used to be a check making sure, that the principal name
of a keytab entry used to decode enc-part of a ticket equals sname from
that ticket. But this check went away with the following commit:
(line 224).

Please, does anybody recall why?

this check seems to break interoperability between AD and samba, at
least in our particular case:
DC: MS Windows Server 2008 AD
Samba server: Solaris 10
client: MS Windows XP
AD issues a KRB_APP_REQ ticket with sname 'cifs/<fqdn>'. But there is no
'cifs/*' principal in samba server keytab, and more importantly no
'cifs/*' principal can be seen on AD in the properties of the samba
server computer entry.
If the check is in place, it fails and so does decoding of the ticket.
It the check is by-passed, the ticket gets decoded alright (using a
keytab entry for 'host/<fqdn>').


More information about the Kerberos mailing list