BUG: https://bugzilla.samba.org/show_bug.cgi?id=15144
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
uint32_t ucf_flags;
NTTIME twrp = fsp->fsp_name->twrp;
NTSTATUS status;
+ bool is_dfs = (smb1req->flags2 & FLAGS2_DFS_PATHNAMES);
if (lease_ptr == NULL) {
if (fsp->oplock_type != LEASE_OPLOCK) {
}
/* This also converts '\' to '/' */
- status = check_path_syntax(filename);
+ status = check_path_syntax_smb2(filename, is_dfs);
if (!NT_STATUS_IS_OK(status)) {
TALLOC_FREE(filename);
return status;