]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3: smbd: Remove filename_convert_with_privilege(). No longer used.
authorJeremy Allison <jra@samba.org>
Fri, 3 Dec 2021 01:55:26 +0000 (17:55 -0800)
committerRalph Boehme <slow@samba.org>
Sat, 11 Dec 2021 07:17:28 +0000 (07:17 +0000)
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/filename.c
source3/smbd/proto.h

index b0f6ac5a99f3adbd092da2d06f2be6550ccce432..820a8780acd8a6b06602ed910759532f4cfd7881 100644 (file)
@@ -2125,27 +2125,6 @@ NTSTATUS filename_convert(TALLOC_CTX *ctx,
                                        pp_smb_fname);
 }
 
-/*
- * Go through all the steps to validate a filename.
- * root (privileged) version.
- */
-
-NTSTATUS filename_convert_with_privilege(TALLOC_CTX *ctx,
-                                connection_struct *conn,
-                               struct smb_request *smbreq,
-                                const char *name_in,
-                                uint32_t ucf_flags,
-                                struct smb_filename **pp_smb_fname)
-{
-       return filename_convert_internal(ctx,
-                                       conn,
-                                       smbreq,
-                                       name_in,
-                                       ucf_flags,
-                                       0,
-                                       pp_smb_fname);
-}
-
 /*
  * Build the full path from a dirfsp and dirfsp relative name
  */
index 82a8234ba8a255d2084ffc69de3fa3d583948e0b..97536c82c0f011e9253c32ce13681e9e8183e728 100644 (file)
@@ -378,12 +378,6 @@ NTSTATUS filename_convert(TALLOC_CTX *mem_ctx,
                        uint32_t ucf_flags,
                        NTTIME twrp,
                        struct smb_filename **pp_smb_fname);
-NTSTATUS filename_convert_with_privilege(TALLOC_CTX *mem_ctx,
-                       connection_struct *conn,
-                       struct smb_request *smbreq,
-                       const char *name_in,
-                       uint32_t ucf_flags,
-                       struct smb_filename **pp_smb_fname);
 
 /* The following definitions come from smbd/files.c  */