s3-libsmb Don't ever ask for machine$ principals as a target.
authorAndrew Bartlett <abartlet@samba.org>
Thu, 9 Dec 2010 20:57:59 +0000 (07:57 +1100)
committerKarolin Seeger <kseeger@samba.org>
Fri, 13 May 2011 19:38:01 +0000 (21:38 +0200)
commit12bb20a0f6cd85cfdaedf746e7b05416ccde31b0
treeb30fe6d917648adb91a57c17b3ad10708d3e28c1
parente962852687f539678b7c38ed21f1b76c328821f2
s3-libsmb Don't ever ask for machine$ principals as a target.

It is never correct to ask for a machine$ principal as the target of a
kerberos connection.  You should always connect via the
servicePrincipalName.

This current code appears to have built up from a series of minimal
changes, as the codebase adapted the to lack of a SPNEGO principal
from Windows 2008.

Andrew Bartlett

The last two patches address bug #7893 (CIFS tickets vs. <host>$ tickets).
source3/libsmb/cliconnect.c