diff options
author | Stefan Metzmacher <metze@samba.org> | 2020-07-08 13:59:26 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2020-07-08 15:54:40 +0000 |
commit | c66110cf33758ee0da035a05585195621b60a393 (patch) | |
tree | 19bae3e1a3063a903a0626eaeec2797a9c259327 | |
parent | 66c0888d2e9a76d59fd29cc7be3597e60235e503 (diff) | |
download | samba-c66110cf33758ee0da035a05585195621b60a393.tar.gz |
s3:smbd: setup client->global->client_guid even without multichannel support
It's too confusing if client->global->client_guid and
client->connections->smb2.client.guid don't have the same value.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11897
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
-rw-r--r-- | source3/smbd/smb2_negprot.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/smbd/smb2_negprot.c b/source3/smbd/smb2_negprot.c index 2c1d4185b28..4071f42b5e0 100644 --- a/source3/smbd/smb2_negprot.c +++ b/source3/smbd/smb2_negprot.c @@ -657,7 +657,13 @@ NTSTATUS smbd_smb2_request_process_negprot(struct smbd_smb2_request *req) /* * Only deal with the client guid database * if multi-channel is enabled. + * + * But we still need to setup + * xconn->client->global->client_guid to + * the correct value. */ + xconn->client->global->client_guid = + xconn->smb2.client.guid; return smbd_smb2_request_done(req, outbody, &outdyn); } |