summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2011-01-17 13:40:12 +0100
committerAndreas Schneider <asn@samba.org>2011-01-17 17:35:50 +0100
commit93da0aab9716d3f8154b6f4d39bfdf47634a96e0 (patch)
tree2106c42fc92a08635ec5cdd06b3eeab0405a3b05 /source3
parent296a958c5790e9d22e5a6b227d53b2a4d4237420 (diff)
downloadsamba-93da0aab9716d3f8154b6f4d39bfdf47634a96e0.tar.gz
samba-93da0aab9716d3f8154b6f4d39bfdf47634a96e0.tar.bz2
samba-93da0aab9716d3f8154b6f4d39bfdf47634a96e0.zip
s3-rpc_client: Fixed status check of dcerpc_lsa_lookup_sids_noalloc.
Autobuild-User: Andreas Schneider <asn@samba.org> Autobuild-Date: Mon Jan 17 17:35:50 CET 2011 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_client/cli_lsarpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_client/cli_lsarpc.c b/source3/rpc_client/cli_lsarpc.c
index af9ed18ce6..e4a989a436 100644
--- a/source3/rpc_client/cli_lsarpc.c
+++ b/source3/rpc_client/cli_lsarpc.c
@@ -213,7 +213,7 @@ static NTSTATUS dcerpc_lsa_lookup_sids_noalloc(struct dcerpc_binding_handle *h,
LSA_LOOKUP_OPTION_SEARCH_ISOLATED_NAMES,
LSA_CLIENT_REVISION_2,
&result);
- if (NT_STATUS_IS_OK(status)) {
+ if (!NT_STATUS_IS_OK(status)) {
return status;
}