summaryrefslogtreecommitdiff
path: root/source4/libcli/smb2/tcon.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2008-06-07 08:30:51 -0700
committerAndrew Tridgell <tridge@samba.org>2008-06-07 08:30:51 -0700
commit1c33953ae21384f04de11539afaf9ead5e413b96 (patch)
treef026d5693323cd9ff66b0b67564f181f2b18e1bf /source4/libcli/smb2/tcon.c
parente4ad580b99c5b372353c285569204ab94c177748 (diff)
downloadsamba-1c33953ae21384f04de11539afaf9ead5e413b96.tar.gz
samba-1c33953ae21384f04de11539afaf9ead5e413b96.tar.bz2
samba-1c33953ae21384f04de11539afaf9ead5e413b96.zip
make signing per session in the SMB2 client library
Thanks to Metze for spotting this (This used to be commit e9fd9b821c04d1cb7b574f539dd8169611e662aa)
Diffstat (limited to 'source4/libcli/smb2/tcon.c')
-rw-r--r--source4/libcli/smb2/tcon.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/libcli/smb2/tcon.c b/source4/libcli/smb2/tcon.c
index db35669d41..ec7152b264 100644
--- a/source4/libcli/smb2/tcon.c
+++ b/source4/libcli/smb2/tcon.c
@@ -57,6 +57,7 @@ struct smb2_request *smb2_tree_connect_send(struct smb2_tree *tree,
if (req == NULL) return NULL;
SBVAL(req->out.hdr, SMB2_HDR_SESSION_ID, tree->session->uid);
+ req->session = tree->session;
SSVAL(req->out.body, 0x02, io->in.reserved);
status = smb2_push_o16s16_string(&req->out, 0x04, io->in.path);