]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3: VFS: default. In vfswrap_read_dfs_pathat(), cope with relative pathnames.
authorJeremy Allison <jra@samba.org>
Tue, 13 Jul 2021 00:21:03 +0000 (17:21 -0700)
committerRalph Boehme <slow@samba.org>
Wed, 14 Jul 2021 08:09:31 +0000 (08:09 +0000)
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/modules/vfs_default.c

index 23fef7a6783703167ddb57bd5f035f326b6eaf9b..102938e332ef804fa46900203b09b5907859e646 100644 (file)
@@ -437,8 +437,6 @@ static NTSTATUS vfswrap_read_dfs_pathat(struct vfs_handle_struct *handle,
 #endif
        int ret;
 
-       SMB_ASSERT(dirfsp == dirfsp->conn->cwd_fsp);
-
        if (is_named_stream(smb_fname)) {
                status = NT_STATUS_OBJECT_NAME_NOT_FOUND;
                goto err;