summaryrefslogtreecommitdiff
path: root/source3/rpc_parse
diff options
context:
space:
mode:
authorJean-François Micouleau <jfm@samba.org>2001-11-22 23:50:16 +0000
committerJean-François Micouleau <jfm@samba.org>2001-11-22 23:50:16 +0000
commitfbfd27a495afa8673d472957867e58b34499760e (patch)
treec119445140a15fef3385aa95de0ab16930fc1cef /source3/rpc_parse
parent9927b5b392592e8ab5e64d4da22d8d965924ba2c (diff)
downloadsamba-fbfd27a495afa8673d472957867e58b34499760e.tar.gz
samba-fbfd27a495afa8673d472957867e58b34499760e.tar.bz2
samba-fbfd27a495afa8673d472957867e58b34499760e.zip
added lsa_enum_sids to rpcclient
fixed lsa_enum_rpivs server code. This time it works as W2K. fixed smbgroupedit to compile and work. J.F. (This used to be commit 646651018a2736833e49e76f6ca735a4647d9746)
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r--source3/rpc_parse/parse_lsa.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/rpc_parse/parse_lsa.c b/source3/rpc_parse/parse_lsa.c
index 767eb5ef19..6d5332794f 100644
--- a/source3/rpc_parse/parse_lsa.c
+++ b/source3/rpc_parse/parse_lsa.c
@@ -1501,6 +1501,14 @@ BOOL lsa_io_r_priv_get_dispname(char *desc, LSA_R_PRIV_GET_DISPNAME *r_q, prs_st
return True;
}
+void init_lsa_q_enum_accounts(LSA_Q_ENUM_ACCOUNTS *trn, POLICY_HND *hnd, uint32 enum_context, uint32 pref_max_length)
+{
+ memcpy(&trn->pol, hnd, sizeof(trn->pol));
+
+ trn->enum_context = enum_context;
+ trn->pref_max_length = pref_max_length;
+}
+
/*******************************************************************
reads or writes a structure.
********************************************************************/