summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2008-06-07 11:10:23 -0700
committerAndrew Tridgell <tridge@samba.org>2008-06-07 11:10:23 -0700
commit3df0fee42d39301d276f4148ab9861514cbe7b6d (patch)
tree352e519f0cfba94c5da2b7d85b2cb88fba4f753a
parent1c33953ae21384f04de11539afaf9ead5e413b96 (diff)
downloadsamba-3df0fee42d39301d276f4148ab9861514cbe7b6d.tar.gz
samba-3df0fee42d39301d276f4148ab9861514cbe7b6d.tar.bz2
samba-3df0fee42d39301d276f4148ab9861514cbe7b6d.zip
fixed for per session session_key here too
(This used to be commit abcbce004c99a2c62aa8c7a7cfc8ac5b5cfeb7dd)
-rw-r--r--source4/librpc/rpc/dcerpc_smb2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/librpc/rpc/dcerpc_smb2.c b/source4/librpc/rpc/dcerpc_smb2.c
index 211015a4cf..4767165fba 100644
--- a/source4/librpc/rpc/dcerpc_smb2.c
+++ b/source4/librpc/rpc/dcerpc_smb2.c
@@ -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;
}