s3-rpc_client: Fixed the dcerpc_lsa_LookupSids3 client_revision.
authorAndreas Schneider <asn@samba.org>
Wed, 5 Jan 2011 16:24:51 +0000 (17:24 +0100)
committerGünther Deschner <gd@samba.org>
Mon, 10 Jan 2011 17:20:55 +0000 (18:20 +0100)
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>
source3/rpc_client/cli_lsarpc.c

index 4e02338edf920200fb5efd27e0efd3f1ddebda38..86d0517d9d5c06261ddb64966b06f9974dcea1ab 100644 (file)
@@ -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;