svn commit: samba r2197 - in trunk/source/smbd: .

jra at samba.org jra at samba.org
Thu Sep 2 22:49:11 GMT 2004


Author: jra
Date: 2004-09-02 22:49:10 +0000 (Thu, 02 Sep 2004)
New Revision: 2197

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/trunk/source/smbd&rev=2197&nolog=1

Log:
This error code change is incorrect. Still working on it...
Jeremy.

Modified:
   trunk/source/smbd/trans2.c


Changeset:
Modified: trunk/source/smbd/trans2.c
===================================================================
--- trunk/source/smbd/trans2.c	2004-09-02 22:48:35 UTC (rev 2196)
+++ trunk/source/smbd/trans2.c	2004-09-02 22:49:10 UTC (rev 2197)
@@ -1381,11 +1381,6 @@
 
 	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);
 	}
 



More information about the samba-cvs mailing list