]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3: smbd: SMB1 reply_copy(). Posix pathnames always means case_sensitive = true.
authorJeremy Allison <jra@samba.org>
Tue, 9 Nov 2021 22:28:34 +0000 (14:28 -0800)
committerRalph Boehme <slow@samba.org>
Tue, 16 Nov 2021 20:21:37 +0000 (20:21 +0000)
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/reply.c

index 8000ff4be3d2652a520a8511554b209623429134..06e6a34ca2bf9547535c71307fa4a5d1d3f89975 100644 (file)
@@ -9084,7 +9084,8 @@ void reply_copy(struct smb_request *req)
                        }
 
                        if(!mask_match(dname, fname_src_mask,
-                                      conn->case_sensitive)) {
+                                      posix_pathnames ?
+                                       true : conn->case_sensitive)) {
                                TALLOC_FREE(talloced);
                                continue;
                        }