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)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 10 Dec 2010 05:08:31 +0000 (16:08 +1100)
commitf13404e27b00f826a11684e69cff82ae0023fc91
tree21049551c417e2be3eb88082b9f047c4ec6edbe7
parent45d784e929b37edddea4c472d288a46b37aa7415
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
source3/libsmb/cliconnect.c