]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3: smbd: In reply_ntrename(), never set dest_has_wcard.
authorJeremy Allison <jra@samba.org>
Thu, 2 Dec 2021 00:14:57 +0000 (16:14 -0800)
committerRalph Boehme <slow@samba.org>
Thu, 9 Dec 2021 18:06:35 +0000 (18:06 +0000)
It can never be true.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/nttrans.c

index b061015aae9a4293bb2caeb55a59097c01d09b9e..18b6c087a02a3085675b3d06d52dc3af74fcea53 100644 (file)
@@ -1816,10 +1816,6 @@ void reply_ntrename(struct smb_request *req)
                goto out;
        }
 
-       if (!req->posix_pathnames) {
-               dest_has_wcard = ms_has_wild(dst_original_lcomp);
-       }
-
        status = filename_convert(ctx, conn,
                                  newname,
                                  ucf_flags_dst,