summaryrefslogtreecommitdiff
path: root/selftest/target
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2022-10-27 12:48:59 +0200
committerJeremy Allison <jra@samba.org>2022-11-22 18:27:33 +0000
commit2e3e27f7e313cee7a646f57e49e2b192282f40d4 (patch)
tree4b60930817fae91408869b49d6e2a454d793cbc5 /selftest/target
parent45091febd2aaeb9b030c8c14a4f44fe6e7f297bf (diff)
downloadsamba-2e3e27f7e313cee7a646f57e49e2b192282f40d4.tar.gz
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 <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'selftest/target')
-rwxr-xr-xselftest/target/Samba3.pm3
1 files changed, 3 insertions, 0 deletions
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