]> git.ipfire.org Git - thirdparty/samba.git/commit
s3/smbd: fix nested chdir into msdfs links on (widelinks = yes) share
authorNoel Power <noel.power@suse.com>
Fri, 7 Jun 2024 18:35:47 +0000 (19:35 +0100)
committerJule Anger <janger@samba.org>
Wed, 3 Jul 2024 08:48:12 +0000 (08:48 +0000)
commitdfa0b1adb872f9c34b6fb1f4f84a06f5dd6802bc
tree4854e43fc5bf10b84772571148f0c044abf33d23
parent6c86b5199366ab3b6b3e2f38937e0a79a34c2d84
s3/smbd: fix nested chdir into msdfs links on (widelinks = yes) share

This patch also removes known fail for existing test

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15435

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Jun 11 19:31:40 UTC 2024 on atb-devel-224

(cherry picked from commit 788ef8f07c75d5e6eca5b8f18d93d96f31574267)
[noel.power@suse.com backported to Samba 4.19 changed test of errno
    after return from widelink_openat to ENOENT because ELOOP isn't set
    for msdfs links in 4.19, ENOENT is set instead. Also minor change
    to use 4.19 create_open_symlink_err fn instead of read_symlink_reparse]
selftest/knownfail.d/dfs_widelink [deleted file]
source3/smbd/files.c