diff options
author | Luke Leighton <lkcl@samba.org> | 1998-12-03 20:50:33 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1998-12-03 20:50:33 +0000 |
commit | b99dc808df7e1a4d51145f4ce0bd89819b037dc4 (patch) | |
tree | e69b8d8b05c044d4908b63b930fbd0efa368a2a4 /source3/rpc_parse | |
parent | f3787515d67b80a91786cfdd2fd2fb5972b4b094 (diff) | |
download | samba-b99dc808df7e1a4d51145f4ce0bd89819b037dc4.tar.gz samba-b99dc808df7e1a4d51145f4ce0bd89819b037dc4.tar.bz2 samba-b99dc808df7e1a4d51145f4ce0bd89819b037dc4.zip |
create domain group command (creategroup) added to rpcclient.
renamed do_samr_xxxx to samr_xxxx.
(This used to be commit 1e5d81c154740349a2cda4c1892b33a21c0683a8)
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r-- | source3/rpc_parse/parse_samr.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/rpc_parse/parse_samr.c b/source3/rpc_parse/parse_samr.c index 90e60a36cd..4a84d8c175 100644 --- a/source3/rpc_parse/parse_samr.c +++ b/source3/rpc_parse/parse_samr.c @@ -1336,7 +1336,7 @@ void samr_io_group_info1(char *desc, GROUP_INFO1 *gr1, prs_struct *ps, int dept /******************************************************************* makes a GROUP_INFO4 structure. ********************************************************************/ -void make_samr_group_info4(GROUP_INFO4 *gr4, char *acct_desc) +void make_samr_group_info4(GROUP_INFO4 *gr4, const char *acct_desc) { int acct_len = acct_desc != NULL ? strlen(acct_desc) : 0; if (gr4 == NULL) return; @@ -1374,10 +1374,10 @@ void samr_group_info_ctr(char *desc, GROUP_INFO_CTR *ctr, prs_struct *ps, int d prs_debug(ps, depth, desc, "samr_group_info_ctr"); depth++; - prs_uint16("switch_value", ps, depth, &(ctr->switch_value)); - prs_align(ps); + prs_uint16("switch_value1", ps, depth, &(ctr->switch_value1)); + prs_uint16("switch_value2", ps, depth, &(ctr->switch_value2)); - switch (ctr->switch_value) + switch (ctr->switch_value1) { case 1: { @@ -1405,7 +1405,7 @@ makes a SAMR_Q_CREATE_DOM_GROUP structure. ********************************************************************/ void make_samr_q_create_dom_group(SAMR_Q_CREATE_DOM_GROUP *q_e, POLICY_HND *pol, - char *acct_desc) + const char *acct_desc) { int acct_len = acct_desc != NULL ? strlen(acct_desc) : 0; if (q_e == NULL || pol == NULL) return; |