summaryrefslogtreecommitdiff
path: root/source3/rpc_parse
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2004-02-28 18:41:16 +0000
committerVolker Lendecke <vlendec@samba.org>2004-02-28 18:41:16 +0000
commita92de03d9e2f22c7d8a6361f5d9d93738d9e3409 (patch)
treea43a8422d41f8082044bc147aa6828a3194de196 /source3/rpc_parse
parent0e2de3d27ebdb620c3372ecf90d889c70c030aa1 (diff)
downloadsamba-a92de03d9e2f22c7d8a6361f5d9d93738d9e3409.tar.gz
samba-a92de03d9e2f22c7d8a6361f5d9d93738d9e3409.tar.bz2
samba-a92de03d9e2f22c7d8a6361f5d9d93738d9e3409.zip
Add 'net rpc group [add|del]mem' for domain groups and aliases.
Volker (This used to be commit e597420421e085b17dcdc062c5900518d0d4e685)
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r--source3/rpc_parse/parse_samr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/rpc_parse/parse_samr.c b/source3/rpc_parse/parse_samr.c
index fda0b0f1e1..34b0cf2848 100644
--- a/source3/rpc_parse/parse_samr.c
+++ b/source3/rpc_parse/parse_samr.c
@@ -3521,7 +3521,7 @@ BOOL samr_io_alias_info1(const char *desc, ALIAS_INFO1 * al1,
inits a ALIAS_INFO3 structure.
********************************************************************/
-void init_samr_alias_info3(ALIAS_INFO3 * al3, char *acct_desc)
+void init_samr_alias_info3(ALIAS_INFO3 * al3, const char *acct_desc)
{
DEBUG(5, ("init_samr_alias_info3\n"));
@@ -4232,7 +4232,7 @@ inits a SAMR_Q_CREATE_DOM_ALIAS structure.
********************************************************************/
void init_samr_q_create_dom_alias(SAMR_Q_CREATE_DOM_ALIAS * q_u,
- POLICY_HND *hnd, char *acct_desc)
+ POLICY_HND *hnd, const char *acct_desc)
{
DEBUG(5, ("init_samr_q_create_dom_alias\n"));
@@ -4241,7 +4241,7 @@ void init_samr_q_create_dom_alias(SAMR_Q_CREATE_DOM_ALIAS * q_u,
init_unistr2(&q_u->uni_acct_desc, acct_desc, UNI_FLAGS_NONE);
init_uni_hdr(&q_u->hdr_acct_desc, &q_u->uni_acct_desc);
- q_u->access_mask = 0x001f000f;
+ q_u->access_mask = MAXIMUM_ALLOWED_ACCESS;
}
/*******************************************************************