summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-06-16 17:42:41 -0700
committerJeremy Allison <jra@samba.org>2009-06-16 17:42:41 -0700
commiteae3745a3ba4bb812c07821c8d60a365386c2fa2 (patch)
tree8b388a3fc942d8c1594d661c964f1f901e27eb18 /source3
parent9b30c5c1457a42a92a61086f8127caf6c60fc076 (diff)
downloadsamba-eae3745a3ba4bb812c07821c8d60a365386c2fa2.tar.gz
samba-eae3745a3ba4bb812c07821c8d60a365386c2fa2.tar.bz2
samba-eae3745a3ba4bb812c07821c8d60a365386c2fa2.zip
Remove msdfs pathname processing from default create file.
No longer needed. Jeremy
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/open.c25
1 files changed, 0 insertions, 25 deletions
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;