]> git.ipfire.org Git - thirdparty/samba.git/commit
s3: smbd: Fix logic in rmdir_internals() to cope with dangling symlinks.
authorJeremy Allison <jra@samba.org>
Mon, 25 Oct 2021 19:32:29 +0000 (12:32 -0700)
committerRalph Boehme <slow@samba.org>
Fri, 29 Oct 2021 14:02:34 +0000 (14:02 +0000)
commit26fecad2e66e91a3913d88ee2e0889f266e91d89
treec35dff126912147b797f4a4f45669d52ea1f61c2
parenta37d16e7c55f85e3f2c9c8614755ea6307092d5f
s3: smbd: Fix logic in rmdir_internals() to cope with dangling symlinks.

Still need to add the same logic in can_delete_directory_fsp()
before we can delete the knownfail.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/close.c