]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3: smbd: rmdir_internals(), when calling synthetic_pathref() for a directory entry...
authorJeremy Allison <jra@samba.org>
Mon, 7 Jun 2021 16:22:28 +0000 (09:22 -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 3cae46f039fda102edaf02097b202e26d6ac35e9..0b3fb217026a6359de2811b9d6bb5929a2a9389d 100644 (file)
@@ -1150,7 +1150,7 @@ static NTSTATUS rmdir_internals(TALLOC_CTX *ctx, struct files_struct *fsp)
                                           dirfsp,
                                           dname,
                                           NULL,
-                                          NULL,
+                                          &smb_dname_full->st,
                                           smb_dname->twrp,
                                           smb_dname->flags,
                                           &direntry_fname);