summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2011-01-05 17:24:51 +0100
committerGünther Deschner <gd@samba.org>2011-01-10 18:20:55 +0100
commite02916c4532c8cdd185624e1fe26b0496ef60419 (patch)
treeb0a56a28c3a167896fa9be92413028e61228ab41
parenta53e0831d2491268b9fe808a3f9fda7dd9ebce5d (diff)
downloadsamba-e02916c4532c8cdd185624e1fe26b0496ef60419.tar.gz
samba-e02916c4532c8cdd185624e1fe26b0496ef60419.tar.bz2
samba-e02916c4532c8cdd185624e1fe26b0496ef60419.zip
s3-rpc_client: Fixed the dcerpc_lsa_LookupSids3 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>
-rw-r--r--source3/rpc_client/cli_lsarpc.c2
1 files changed, 1 insertions, 1 deletions
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;