]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: set twrp in dptr_ReadDirName()
authorRalph Boehme <slow@samba.org>
Fri, 1 May 2020 15:05:48 +0000 (17:05 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 5 May 2020 19:18:41 +0000 (19:18 +0000)
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/dir.c

index ac557ac442bccd9bb86bbdd2ca15eaae8532d9fc..8a847a055ebcb6a4f51a99c9659e303c1e348d9a 100644 (file)
@@ -492,6 +492,7 @@ static char *dptr_ReadDirName(TALLOC_CTX *ctx,
        /* Create an smb_filename with stream_name == NULL. */
        smb_fname_base = (struct smb_filename) {
                .base_name = pathreal,
+               .twrp = dptr->smb_dname->twrp,
        };
 
        if (SMB_VFS_STAT(dptr->conn, &smb_fname_base) == 0) {