diff options
author | Christian Ambach <christian.ambach@de.ibm.com> | 2011-04-07 14:05:04 +0200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-04-14 02:19:08 +0200 |
commit | 29c0c37691da10bf061ba90a5b31482bda2fa486 (patch) | |
tree | 1aa53e189e0306c41172b57bd320eb873293122b /source4/libcli/climessage.c | |
parent | 96a49d23a4caebefcea66cfb855fadbae12ccf7c (diff) | |
download | samba-29c0c37691da10bf061ba90a5b31482bda2fa486.tar.gz samba-29c0c37691da10bf061ba90a5b31482bda2fa486.tar.bz2 samba-29c0c37691da10bf061ba90a5b31482bda2fa486.zip |
s4/libcli: do not use netbios name in NTLMv2 blobs w/o spnego
I have seen domain controllers rejecting NTLMv2 blobs presented to
NetrLogonSamLogonEx with LOGON_FAILURE when the MsvAvNbComputerName
was a FQDN or an IP address
I have not seen this field in NTLMv2 blobs send by Windows clients
when extended security was not available, so omitting the field
makes Samba similar to Windows.
This prevents errors with some smbtorture testcases that disable
spnego and when a target name is specified that is not a valid
netbios name.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Thu Apr 14 02:19:08 CEST 2011 on sn-devel-104
Diffstat (limited to 'source4/libcli/climessage.c')
0 files changed, 0 insertions, 0 deletions