mirror of
https://github.com/samba-team/samba.git
synced 2025-02-28 01:58:17 +03:00
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>
This commit is contained in:
parent
66c0888d2e
commit
c66110cf33
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user