s4:libcli/raw: setup a smbXcli_session for each smbcli_session
[kai/samba.git] / source4 / libcli / raw / rawrequest.c
index 1b4c8c7524aa926a21217e0002b6d611cd39a2ae..56bbf259e1805dc7f89be7ab54501cc0e487dba9 100644 (file)
@@ -146,6 +146,8 @@ struct smbcli_request *smbcli_request_setup_session(struct smbcli_session *sessi
 
        if (!req) return NULL;
 
+       smb1cli_session_set_id(session->smbXcli, session->vuid);
+
        req->session = session;
 
        SSVAL(req->out.hdr, HDR_FLG2, session->flags2);