s3-rpc_client: Fixed status check of dcerpc_lsa_lookup_sids_noalloc.
authorAndreas Schneider <asn@samba.org>
Mon, 17 Jan 2011 12:40:12 +0000 (13:40 +0100)
committerAndreas Schneider <asn@samba.org>
Mon, 17 Jan 2011 16:35:50 +0000 (17:35 +0100)
Autobuild-User: Andreas Schneider <asn@samba.org>
Autobuild-Date: Mon Jan 17 17:35:50 CET 2011 on sn-devel-104

source3/rpc_client/cli_lsarpc.c

index af9ed18ce61934b7b5e9b2553aa9de5aaf10fc25..e4a989a4360a573c8b2a9cd1212e708b29a6a86e 100644 (file)
@@ -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;
                }