]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
r2196: This error code change is incorrect. Still working on it...
authorJeremy Allison <jra@samba.org>
Thu, 2 Sep 2004 22:48:35 +0000 (22:48 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:52:35 +0000 (10:52 -0500)
Jeremy.
(This used to be commit 3dbd822f5e4a241ac12fa6c75de93013f80f00f4)

source3/smbd/trans2.c

index 0a6ff04ad251df873243abdee6d3108dab63c5ed..f3176940c2fc109b6d83e4044bffce32a8b589b6 100644 (file)
@@ -1381,11 +1381,6 @@ close_if_end = %d requires_resume_key = %d level = 0x%x, max_data_bytes = %d\n",
 
        srvstr_get_path(inbuf, directory, params+12, sizeof(directory), -1, STR_TERMINATE, &ntstatus, True);
        if (!NT_STATUS_IS_OK(ntstatus)) {
-               /* W2k3 never seems to return OBJECT_PATH_NOT_FOUND on a
-                  bad pathname parse in a findfirst, but always OBJECT_NAME_INVALID. JRA */
-               /* It remains to be seen what it does on CreateFile(). JRA. (ie. I need to check) */
-               if (NT_STATUS_EQUAL(NT_STATUS_OBJECT_PATH_NOT_FOUND,ntstatus))
-                       return ERROR_NT(NT_STATUS_OBJECT_NAME_INVALID);
                return ERROR_NT(ntstatus);
        }