]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3: smbd: recursive_rmdir(), when calling synthetic_pathref() for a directory entry...
authorJeremy Allison <jra@samba.org>
Mon, 7 Jun 2021 16:14:03 +0000 (09:14 -0700)
committerRalph Boehme <slow@samba.org>
Wed, 9 Jun 2021 13:14:30 +0000 (13:14 +0000)
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/close.c

index 0b3fb217026a6359de2811b9d6bb5929a2a9389d..7c38a79e9d76939bc9a293b6fa5c3d88d6073887 100644 (file)
@@ -922,7 +922,7 @@ bool recursive_rmdir(TALLOC_CTX *ctx,
                                           dirfsp,
                                           dname,
                                           NULL,
-                                          NULL,
+                                          &smb_dname_full->st,
                                           smb_dname_full->twrp,
                                           smb_dname_full->flags,
                                           &atname);