fixed for per session session_key here too
authorAndrew Tridgell <tridge@samba.org>
Sat, 7 Jun 2008 18:10:23 +0000 (11:10 -0700)
committerAndrew Tridgell <tridge@samba.org>
Sat, 7 Jun 2008 18:10:23 +0000 (11:10 -0700)
(This used to be commit abcbce004c99a2c62aa8c7a7cfc8ac5b5cfeb7dd)

source4/librpc/rpc/dcerpc_smb2.c

index 211015a4cf383ae1fe04bcd445e027312c29dc98..4767165fba8dd62596f9d3689fa763776ec62a48 100644 (file)
@@ -376,7 +376,7 @@ static NTSTATUS smb2_session_key(struct dcerpc_connection *c, DATA_BLOB *session
 {
        struct smb2_private *smb = talloc_get_type(c->transport.private_data,
                                                   struct smb2_private);
-       *session_key = smb->tree->session->transport->signing.session_key;
+       *session_key = smb->tree->session->session_key;
        if (session_key->data == NULL) {
                return NT_STATUS_NO_USER_SESSION_KEY;
        }