[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha7-2343-geae3745

Jeremy Allison jra at samba.org
Wed Jun 17 00:43:41 GMT 2009


The branch, master has been updated
       via  eae3745a3ba4bb812c07821c8d60a365386c2fa2 (commit)
      from  9b30c5c1457a42a92a61086f8127caf6c60fc076 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit eae3745a3ba4bb812c07821c8d60a365386c2fa2
Author: Jeremy Allison <jra at samba.org>
Date:   Tue Jun 16 17:42:41 2009 -0700

    Remove msdfs pathname processing from default create file.
    No longer needed.
    Jeremy

-----------------------------------------------------------------------

Summary of changes:
 source3/smbd/open.c |   25 -------------------------
 1 files changed, 0 insertions(+), 25 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index c7d5979..c2e5cdf 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;


-- 
Samba Shared Repository


More information about the samba-cvs mailing list