From: Jeremy Allison Date: Thu, 2 Sep 2004 22:48:35 +0000 (+0000) Subject: r2196: This error code change is incorrect. Still working on it... X-Git-Tag: samba-4.0.0alpha6~801^2~11259 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51336f27516c2a7d1ece507efeb14054f3cd9e7e;p=thirdparty%2Fsamba.git r2196: This error code change is incorrect. Still working on it... Jeremy. (This used to be commit 3dbd822f5e4a241ac12fa6c75de93013f80f00f4) --- diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index 0a6ff04ad25..f3176940c2f 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -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); }