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:
parent
b2668fe8e1
commit
f9a3774254
@ -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)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user