From 546a264e0e2b6bc31768cee4bc2ce478019d2c42 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 12 Jun 2010 12:54:02 +0200 Subject: s3: Initialize smb_request->sconn in smbd_smb2_fake_smb_request --- source3/smbd/smb2_glue.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source3') 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 | -- cgit