From 3f21b971a9fda418e1a96ada9e6778b04004e005 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 5 Jan 2011 17:35:36 +0100 Subject: s3-rpc_client: Fixed the dcerpc_lsa_LookupNames4 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 Autobuild-User: Günther Deschner Autobuild-Date: Mon Jan 10 19:05:31 CET 2011 on sn-devel-104 --- 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 d96a231578..2ffd1c8f74 100644 --- a/source3/rpc_client/cli_lsarpc.c +++ b/source3/rpc_client/cli_lsarpc.c @@ -606,7 +606,7 @@ static NTSTATUS dcerpc_lsa_lookup_names_generic(struct dcerpc_binding_handle *h, level, &count, LSA_LOOKUP_OPTION_SEARCH_ISOLATED_NAMES, - 0, + LSA_CLIENT_REVISION_2, presult); } else { status = dcerpc_lsa_LookupNames(h, -- cgit