From b7eeb658e7a961e6ffd56b94a7bf2712330a0b2b Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 11 Jun 2014 11:41:27 +0200 Subject: [PATCH] s3:smb2_server: use req->xconn in is_smb2_recvfile_write() Signed-off-by: Stefan Metzmacher Reviewed-by: Volker Lendecke Reviewed-by: Michael Adam --- source3/smbd/smb2_server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/smbd/smb2_server.c b/source3/smbd/smb2_server.c index e8a783acbfc..3de78b022f7 100644 --- a/source3/smbd/smb2_server.c +++ b/source3/smbd/smb2_server.c @@ -2919,7 +2919,7 @@ static bool is_smb2_recvfile_write(struct smbd_smb2_request_read_state *state) file_id_persistent = BVAL(body, 0x10); file_id_volatile = BVAL(body, 0x18); - status = smb2srv_open_lookup(state->req->sconn->conn, + status = smb2srv_open_lookup(state->req->xconn, file_id_persistent, file_id_volatile, 0, /* now */ -- 2.11.4.GIT