From: Volker Lendecke Date: Thu, 27 Oct 2022 10:48:59 +0000 (+0200) Subject: tests: Add nosymlinks_smb1allow share X-Git-Tag: talloc-2.4.0~494 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e3e27f7e313cee7a646f57e49e2b192282f40d4;p=thirdparty%2Fsamba.git tests: Add nosymlinks_smb1allow share 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 Reviewed-by: Jeremy Allison --- diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm index 7a7fd666054..a2808ffbce8 100755 --- a/selftest/target/Samba3.pm +++ b/selftest/target/Samba3.pm @@ -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