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>
/*
* 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);
}