From: Ralph Boehme Date: Sun, 29 Dec 2019 13:34:42 +0000 (+0100) Subject: smbd: pass smbXsrv_session to make_connection_snum() X-Git-Tag: ldb-2.1.0~45 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5992f8fa93adfcd6fc9e5c0632fc36f02ce271ca;p=thirdparty%2Fsamba.git smbd: pass smbXsrv_session to make_connection_snum() Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison --- diff --git a/source3/smbd/service.c b/source3/smbd/service.c index 8ff3d415251..a78b7cd3749 100644 --- a/source3/smbd/service.c +++ b/source3/smbd/service.c @@ -531,6 +531,7 @@ static NTSTATUS notify_init_sconn(struct smbd_server_connection *sconn) static NTSTATUS make_connection_snum(struct smbXsrv_connection *xconn, connection_struct *conn, int snum, struct user_struct *vuser, + struct smbXsrv_session *session, const char *pdev) { struct smbd_server_connection *sconn = xconn->client->sconn; @@ -952,6 +953,7 @@ static connection_struct *make_connection_smb1(struct smb_request *req, conn, snum, vuser, + req->session, pdev); if (!NT_STATUS_IS_OK(*pstatus)) { conn_free(conn); @@ -1008,6 +1010,7 @@ connection_struct *make_connection_smb2(struct smbd_smb2_request *req, conn, snum, vuser, + req->session, pdev); if (!NT_STATUS_IS_OK(*pstatus)) { conn_free(conn);