]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3: smbd: In smb_file_rename_information() (SMB_FILE_RENAME_INFORMATION info level...
authorJeremy Allison <jra@samba.org>
Thu, 2 Dec 2021 00:07:07 +0000 (16:07 -0800)
committerRalph Boehme <slow@samba.org>
Thu, 9 Dec 2021 18:06:35 +0000 (18:06 +0000)
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/trans2.c

index fd1351aae55b6c6e84524c0981de4f069efd4686..c59750b40c2ceea6d0dd75bfc92c784a1f1b7dcb 100644 (file)
@@ -7441,8 +7441,7 @@ static NTSTATUS smb_file_rename_information(connection_struct *conn,
                 * the newname instead.
                 */
                char *base_name = NULL;
-               uint32_t ucf_flags = UCF_ALWAYS_ALLOW_WCARD_LCOMP|
-                               ucf_flags_from_smb_request(req);
+               uint32_t ucf_flags = ucf_flags_from_smb_request(req);
 
                /* newname must *not* be a stream name. */
                if (newname[0] == ':') {