From eae3745a3ba4bb812c07821c8d60a365386c2fa2 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 16 Jun 2009 17:42:41 -0700 Subject: Remove msdfs pathname processing from default create file. No longer needed. Jeremy --- source3/smbd/open.c | 25 ------------------------- 1 file changed, 25 deletions(-) (limited to 'source3/smbd/open.c') diff --git a/source3/smbd/open.c b/source3/smbd/open.c index c7d5979a85..c2e5cdfccc 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -3369,31 +3369,6 @@ NTSTATUS create_file_default(connection_struct *conn, (unsigned int)root_dir_fid, ea_list, sd, smb_fname_str_dbg(smb_fname))); - /* MSDFS pathname processing must be done FIRST. - MSDFS pathnames containing IPv6 addresses can - be confused with NTFS stream names (they contain - ":" characters. JRA. */ - - if ((req != NULL) && (req->flags2 & FLAGS2_DFS_PATHNAMES)) { - char *resolved_fname; - - status = resolve_dfspath(talloc_tos(), conn, true, - smb_fname->base_name, - &resolved_fname); - - if (!NT_STATUS_IS_OK(status)) { - /* - * For PATH_NOT_COVERED we had - * reply_botherror(req, NT_STATUS_PATH_NOT_COVERED, - * ERRSRV, ERRbadpath); - * Need to fix in callers - */ - goto fail; - } - TALLOC_FREE(smb_fname->base_name); - smb_fname->base_name = resolved_fname; - } - status = get_full_smb_filename(talloc_tos(), smb_fname, &fname); if (!NT_STATUS_IS_OK(status)) { goto fail; -- cgit