]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: remove unused vuser arg from make_connection_smb2()
authorRalph Boehme <slow@samba.org>
Thu, 2 Jan 2020 16:09:26 +0000 (17:09 +0100)
committerJeremy Allison <jra@samba.org>
Mon, 13 Jan 2020 19:41:36 +0000 (19:41 +0000)
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/proto.h
source3/smbd/service.c
source3/smbd/smb2_tcon.c

index db1046a2df5545a321c48dedc93efd6b3f226d8a..a8e2393f264093945f7e84249a0430c93916da43 100644 (file)
@@ -1078,7 +1078,6 @@ int find_service(TALLOC_CTX *ctx, const char *service, char **p_service_out);
 connection_struct *make_connection_smb2(struct smbd_smb2_request *req,
                                        struct smbXsrv_tcon *tcon,
                                        int snum,
-                                       struct user_struct *vuser,
                                        const char *pdev,
                                        NTSTATUS *pstatus);
 connection_struct *make_connection(struct smb_request *req,
index 73a5ddbe479a8ca042fb1533b8cf5078d564fb12..94e0eb495696bb99d9a6df2fde77213f20bec21a 100644 (file)
@@ -990,7 +990,6 @@ static connection_struct *make_connection_smb1(struct smb_request *req,
 connection_struct *make_connection_smb2(struct smbd_smb2_request *req,
                                        struct smbXsrv_tcon *tcon,
                                        int snum,
-                                       struct user_struct *vuser,
                                        const char *pdev,
                                        NTSTATUS *pstatus)
 {
index 0827fb068e68cafe4eabea26298951942aaf50b9..ee799c83851e51029f183043169bcbe009dd1268 100644 (file)
@@ -333,7 +333,6 @@ static NTSTATUS smbd_smb2_tree_connect(struct smbd_smb2_request *req,
 
        compat_conn = make_connection_smb2(req,
                                        tcon, snum,
-                                       req->session->compat,
                                        "???",
                                        &status);
        if (compat_conn == NULL) {