From e02916c4532c8cdd185624e1fe26b0496ef60419 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 5 Jan 2011 17:24:51 +0100 Subject: s3-rpc_client: Fixed the dcerpc_lsa_LookupSids3 client_revision. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The spec states that the ClientRevision value MUST be one of the following: LSA_CLIENT_REVISION_1 or LSA_CLIENT_REVISION_2. LSA_CLIENT_REVISION_2 means Windows 2000 and newer. Signed-off-by: Günther Deschner --- source3/rpc_client/cli_lsarpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/rpc_client/cli_lsarpc.c b/source3/rpc_client/cli_lsarpc.c index 4e02338edf..86d0517d9d 100644 --- a/source3/rpc_client/cli_lsarpc.c +++ b/source3/rpc_client/cli_lsarpc.c @@ -211,7 +211,7 @@ static NTSTATUS dcerpc_lsa_lookup_sids_noalloc(struct dcerpc_binding_handle *h, level, &count, LSA_LOOKUP_OPTION_SEARCH_ISOLATED_NAMES, - 0, + LSA_CLIENT_REVISION_2, &result); if (NT_STATUS_IS_OK(status)) { return status; -- cgit