svn commit: samba r23521 - in branches/SAMBA_4_0/source/client: .

tridge at samba.org tridge at samba.org
Sat Jun 16 17:54:37 GMT 2007


Author: tridge
Date: 2007-06-16 17:54:36 +0000 (Sat, 16 Jun 2007)
New Revision: 23521

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=23521

Log:

NT_STATUS_OBJECT_NAME_NOT_FOUND is not an error either

Modified:
   branches/SAMBA_4_0/source/client/client.c


Changeset:
Modified: branches/SAMBA_4_0/source/client/client.c
===================================================================
--- branches/SAMBA_4_0/source/client/client.c	2007-06-16 17:14:02 UTC (rev 23520)
+++ branches/SAMBA_4_0/source/client/client.c	2007-06-16 17:54:36 UTC (rev 23521)
@@ -1827,7 +1827,8 @@
 				finfo.generic.in.file.path = talloc_asprintf(ctx, "%s%s", 
 									     info.out.names[i], fname); 
 				status = smb_raw_pathinfo(ctx->cli->tree, ctx, &finfo);
-				if (NT_STATUS_EQUAL(status, NT_STATUS_OBJECT_PATH_NOT_FOUND)) {
+				if (NT_STATUS_EQUAL(status, NT_STATUS_OBJECT_PATH_NOT_FOUND) ||
+				    NT_STATUS_EQUAL(status, NT_STATUS_OBJECT_NAME_NOT_FOUND)) {
 					continue;
 				}
 				if (!NT_STATUS_IS_OK(status)) {



More information about the samba-cvs mailing list