summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2011-01-05 17:35:36 +0100
committerGünther Deschner <gd@samba.org>2011-01-10 19:05:31 +0100
commit3f21b971a9fda418e1a96ada9e6778b04004e005 (patch)
tree410bec681e52e3474cad048475c63cb490f00e83 /source3/rpc_client
parentb1df95cbc5c5f0f5272ea047f9f8d93d5d732fcc (diff)
downloadsamba-3f21b971a9fda418e1a96ada9e6778b04004e005.tar.gz
samba-3f21b971a9fda418e1a96ada9e6778b04004e005.tar.bz2
samba-3f21b971a9fda418e1a96ada9e6778b04004e005.zip
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
Diffstat (limited to 'source3/rpc_client')
-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 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,