]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
tests: Add nosymlinks_smb1allow share
authorVolker Lendecke <vl@samba.org>
Thu, 27 Oct 2022 10:48:59 +0000 (12:48 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 22 Nov 2022 18:27:33 +0000 (18:27 +0000)
The next commits will create symlinks via posix extensions to test the
smb2 symlink error return. Creating posix symlinks is not allowed with
follow symlinks = no, but it's currently our only way to create
symlinks over SMB. This could go away once we can create symlinks via
reparse points.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
selftest/target/Samba3.pm

index 7a7fd66605459f2ea1d53d41f441e1419377b1a6..a2808ffbce86661b1ca2e6790ca0f99b0172ef3d 100755 (executable)
@@ -3374,6 +3374,9 @@ sub provision($$)
        copy = tmp
        path = $nosymlinks_shrdir
        follow symlinks = no
+[nosymlinks_smb1allow]
+       copy=nosymlinks
+       follow symlinks = yes
 
 [local_symlinks]
        copy = tmp