1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-02 00:22:11 +03:00

s3-rpc_client: Fixed the dcerpc_lsa_LookupNames4 client_revision.

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 <gd@samba.org>

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Jan 10 19:05:31 CET 2011 on sn-devel-104
This commit is contained in:
Andreas Schneider
2011-01-05 17:35:36 +01:00
committed by Günther Deschner
parent b1df95cbc5
commit 3f21b971a9

View File

@ -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,