git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc37c73
)
s3/rpc_client: use NT_STATUS_LOOKUP_ERR
author
Ralph Boehme
<slow@samba.org>
Sat, 1 Apr 2017 14:56:39 +0000
(16:56 +0200)
committer
Jeremy Allison
<jra@samba.org>
Fri, 7 Apr 2017 20:52:24 +0000
(22:52 +0200)
No change in behaviour.
Bug: https://bugzilla.samba.org/show_bug.cgi?id=12728
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/rpc_client/cli_lsarpc.c
patch
|
blob
|
history
diff --git
a/source3/rpc_client/cli_lsarpc.c
b/source3/rpc_client/cli_lsarpc.c
index 518489a64a89f4d6fbc722f5cac4e1b80b496432..70952f62bab648c0b0b9738fb53cf4377b4596cb 100644
(file)
--- a/
source3/rpc_client/cli_lsarpc.c
+++ b/
source3/rpc_client/cli_lsarpc.c
@@
-256,10
+256,7
@@
static NTSTATUS dcerpc_lsa_lookup_sids_noalloc(struct dcerpc_binding_handle *h,
return status;
}
- if (!NT_STATUS_IS_OK(result) &&
- !NT_STATUS_EQUAL(result, NT_STATUS_NONE_MAPPED) &&
- !NT_STATUS_EQUAL(result, STATUS_SOME_UNMAPPED))
- {
+ if (NT_STATUS_LOOKUP_ERR(result)) {
*presult = result;
return status;
}