1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-08 04:58:40 +03:00

r23521: NT_STATUS_OBJECT_NAME_NOT_FOUND is not an error either

(This used to be commit fb20d0cbe0dc3899409a345df0b7d0d73ae64cf0)
This commit is contained in:
Andrew Tridgell 2007-06-16 17:54:36 +00:00 committed by Gerald (Jerry) Carter
parent b2668fe8e1
commit f9a3774254

View File

@ -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)) {