summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2007-06-16 17:54:36 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:53:24 -0500
commitf9a3774254861e4d3c0cb8e0091d7ab315236439 (patch)
tree0ec309fab789163da5e62c008235f109d4b819ac
parentb2668fe8e15d77bc810f7501644b2c28fe877d6b (diff)
downloadsamba-f9a3774254861e4d3c0cb8e0091d7ab315236439.tar.gz
samba-f9a3774254861e4d3c0cb8e0091d7ab315236439.tar.bz2
samba-f9a3774254861e4d3c0cb8e0091d7ab315236439.zip
r23521: NT_STATUS_OBJECT_NAME_NOT_FOUND is not an error either
(This used to be commit fb20d0cbe0dc3899409a345df0b7d0d73ae64cf0)
-rw-r--r--source4/client/client.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/client/client.c b/source4/client/client.c
index 7585a15a39..9b9a032cc8 100644
--- a/source4/client/client.c
+++ b/source4/client/client.c
@@ -1827,7 +1827,8 @@ static int cmd_allinfo(struct smbclient_context *ctx, const char **args)
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)) {