]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: remove vuser arg from make_connection_snum()
authorRalph Boehme <slow@samba.org>
Mon, 30 Dec 2019 09:28:25 +0000 (10:28 +0100)
committerJeremy Allison <jra@samba.org>
Mon, 13 Jan 2020 19:41:35 +0000 (19:41 +0000)
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/service.c

index 22ff612e619ec91087aeff54c6c6329334a6e79f..13cde984f76d7d1eb973b910cdb28b39313e0461 100644 (file)
@@ -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)) {