summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-06-12 12:54:02 +0200
committerVolker Lendecke <vl@samba.org>2010-06-12 13:05:09 +0200
commit546a264e0e2b6bc31768cee4bc2ce478019d2c42 (patch)
treefc7bacff1a522dc27d15231da7730da70ed7cfa8 /source3
parent46a48edcdfc043a400310e6b1b84d0469c5623e1 (diff)
downloadsamba-546a264e0e2b6bc31768cee4bc2ce478019d2c42.tar.gz
samba-546a264e0e2b6bc31768cee4bc2ce478019d2c42.tar.bz2
samba-546a264e0e2b6bc31768cee4bc2ce478019d2c42.zip
s3: Initialize smb_request->sconn in smbd_smb2_fake_smb_request
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/smb2_glue.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/smb2_glue.c b/source3/smbd/smb2_glue.c
index 8b595affe0..ba80f852c6 100644
--- a/source3/smbd/smb2_glue.c
+++ b/source3/smbd/smb2_glue.c
@@ -38,6 +38,7 @@ struct smb_request *smbd_smb2_fake_smb_request(struct smbd_smb2_request *req)
smbreq->vuid = req->session->compat_vuser->vuid;
smbreq->tid = req->tcon->compat_conn->cnum;
smbreq->conn = req->tcon->compat_conn;
+ smbreq->sconn = req->sconn;
smbreq->smbpid = (uint16_t)IVAL(inhdr, SMB2_HDR_PID);
smbreq->flags2 = FLAGS2_UNICODE_STRINGS |
FLAGS2_32_BIT_ERROR_CODES |