git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a53e083
)
s3-rpc_client: Fixed the dcerpc_lsa_LookupSids3 client_revision.
author
Andreas Schneider
<asn@samba.org>
Wed, 5 Jan 2011 16:24:51 +0000
(17:24 +0100)
committer
Gü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
patch
|
blob
|
history
diff --git
a/source3/rpc_client/cli_lsarpc.c
b/source3/rpc_client/cli_lsarpc.c
index 4e02338edf920200fb5efd27e0efd3f1ddebda38..86d0517d9d5c06261ddb64966b06f9974dcea1ab 100644
(file)
--- 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;