From 93da0aab9716d3f8154b6f4d39bfdf47634a96e0 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 17 Jan 2011 13:40:12 +0100 Subject: s3-rpc_client: Fixed status check of dcerpc_lsa_lookup_sids_noalloc. Autobuild-User: Andreas Schneider Autobuild-Date: Mon Jan 17 17:35:50 CET 2011 on sn-devel-104 --- source3/rpc_client/cli_lsarpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/rpc_client/cli_lsarpc.c') 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; } -- cgit