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>
Tue, 14 Jun 2011 10:57:40 +0000 (12:57 +0200)
commitd56f76ff59259aa6616ff875b39426197df39138
treed2e8e7ceb8a846d63d4a2688cce3b4eef56c4270
parentdeebcee272f7be2d22a92354156fccdd9b72656a
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).
(cherry picked from commit 12bb20a0f6cd85cfdaedf746e7b05416ccde31b0)
source3/libsmb/cliconnect.c