diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-07-21 21:15:38 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-07-21 22:08:52 +0200 |
commit | 392ddf970c8f8486e79eec5214ed49912e344e09 (patch) | |
tree | 183469dbead0fe70a0df81575e0a5a460acc07fd /source3 | |
parent | 25447a528a1f5c37e0e62bbc990b87c868de784a (diff) | |
download | samba-392ddf970c8f8486e79eec5214ed49912e344e09.tar.gz samba-392ddf970c8f8486e79eec5214ed49912e344e09.tar.bz2 samba-392ddf970c8f8486e79eec5214ed49912e344e09.zip |
s3:libsmb: don't pass cli->called.name to NTLMv2_generate_names_blob()
cli->called.name is never initialized, so this change doesn't change
the behavior. And this behavior seems to be correct, see
commit 29c0c37691da10bf061ba90a5b31482bda2fa486
s4/libcli: do not use netbios name in NTLMv2 blobs w/o spnego.
metze
Diffstat (limited to 'source3')
-rw-r--r-- | source3/libsmb/cliconnect.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c index 9b9d751284..5317c192bc 100644 --- a/source3/libsmb/cliconnect.c +++ b/source3/libsmb/cliconnect.c @@ -861,11 +861,11 @@ static struct tevent_req *cli_session_setup_nt1_send( /* * note that the 'workgroup' here is a best * guess - we don't know the server's domain - * at this point. The 'server name' is also - * dodgy... + * at this point. Windows clients also don't + * use hostname... */ names_blob = NTLMv2_generate_names_blob( - NULL, cli->called.name, workgroup); + NULL, NULL, workgroup); if (tevent_req_nomem(names_blob.data, req)) { return tevent_req_post(req, ev); |