s3-rpc_client: Fixed the dcerpc_lsa_LookupSids3 lookup_options.
authorAndreas Schneider <asn@samba.org>
Wed, 5 Jan 2011 16:22:18 +0000 (17:22 +0100)
committerGünther Deschner <gd@samba.org>
Mon, 10 Jan 2011 17:20:55 +0000 (18:20 +0100)
Use the enum value in dcerpc_lsa_LookupSids3 for _lookup_options.

Signed-off-by: Günther Deschner <gd@samba.org>
source3/rpc_client/cli_lsarpc.c

index 6b5d7f82d4a4beb997d4eb2113d05524359080e0..4e02338edf920200fb5efd27e0efd3f1ddebda38 100644 (file)
@@ -210,7 +210,7 @@ static NTSTATUS dcerpc_lsa_lookup_sids_noalloc(struct dcerpc_binding_handle *h,
                                                &lsa_names2,
                                                level,
                                                &count,
-                                               0,
+                                               LSA_LOOKUP_OPTION_SEARCH_ISOLATED_NAMES,
                                                0,
                                                &result);
                if (NT_STATUS_IS_OK(status)) {