s3-libsmb: Do not look up FQDN or use host/ for krb5 encrypted CIFS
authorAndrew Bartlett <abartlet@samba.org>
Mon, 9 Jan 2012 00:19:33 +0000 (11:19 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 9 Jan 2012 00:39:54 +0000 (11:39 +1100)
commit13f5414f93e54b2fad7d2966cd3ddd2e4abb0dc6
treecd4a6800ed367e68a571dd7c56e3797779fb52bd
parentc243bd2578026d28abfbb4e8a76fe7f008291466
s3-libsmb: Do not look up FQDN or use host/ for krb5 encrypted CIFS

This is important, as we want to use exactly the same name and ticket
that the libsmb session setup code used, so we do not hit the KDC twice.

For the session setup to have succeded using the default 'client use
spnego principal = no', the cifs/ principal must exist anyway, so
looking for host/ is pointless.  The case of 'client use spnego
principal = yes' was never supported here.

Andrew Bartlett
source3/libsmb/clifsinfo.c