diff options
author | Jeremy Allison <jra@samba.org> | 2021-12-07 12:56:51 -0800 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2022-01-31 15:27:37 +0000 |
commit | 3e9f6d704d3f3c51180cb2c5ee327e2a31106b52 (patch) | |
tree | db0810953fac47619e1369f2efbb97c4ace01983 /selftest/target | |
parent | 4e75e24baab2773bbd1966ed38330118fbf51b26 (diff) | |
download | samba-3e9f6d704d3f3c51180cb2c5ee327e2a31106b52.tar.gz |
CVE-2021-44141: s3: torture: In test_smbclient_s3, change the error codes expected for test_widelinks() and test_nosymlinks() from ACCESS_DENIED to NT_STATUS_OBJECT_NAME_NOT_FOUND.
For SMB1/2/3 (minus posix) we need to treat bad symlinks
as though they don't exist.
Add to knwownfail.d/symlink_traversal
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14911
Signed-off-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'selftest/target')
-rwxr-xr-x | selftest/target/Samba3.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm index 83941a85e15..7bb007c959d 100755 --- a/selftest/target/Samba3.pm +++ b/selftest/target/Samba3.pm @@ -2537,7 +2537,7 @@ sub provision($$) create_file_chmod("$widelinks_target", 0666) or return undef; ## - ## This link should get ACCESS_DENIED + ## This link should get an error ## symlink "$widelinks_target", "$widelinks_shrdir/source"; ## |