diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/client/client.c | 3 |
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)) { |