From: Ralph Boehme Date: Mon, 30 Dec 2019 09:28:25 +0000 (+0100) Subject: smbd: remove vuser arg from make_connection_snum() X-Git-Tag: ldb-2.1.0~41 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96fd0ddd02eae05024102b5ed8dc7fb158ed1785;p=thirdparty%2Fsamba.git smbd: remove vuser arg from 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 22ff612e619..13cde984f76 100644 --- a/source3/smbd/service.c +++ b/source3/smbd/service.c @@ -530,7 +530,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, + int snum, struct smbXsrv_session *session, const char *pdev) { @@ -952,7 +952,6 @@ static connection_struct *make_connection_smb1(struct smb_request *req, *pstatus = make_connection_snum(req->xconn, conn, snum, - vuser, req->session, pdev); if (!NT_STATUS_IS_OK(*pstatus)) { @@ -1009,7 +1008,6 @@ connection_struct *make_connection_smb2(struct smbd_smb2_request *req, *pstatus = make_connection_snum(req->xconn, conn, snum, - vuser, req->session, pdev); if (!NT_STATUS_IS_OK(*pstatus)) {