summaryrefslogtreecommitdiff
path: root/source3/rpc_parse/parse_samr.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2004-02-28 18:42:20 +0000
committerVolker Lendecke <vlendec@samba.org>2004-02-28 18:42:20 +0000
commit3e2e8d2f4d7fea7be34a10dbf4796a8b8edcf8c6 (patch)
tree6e95756eba25e5d50a37c1c03b438bc6e1b78b67 /source3/rpc_parse/parse_samr.c
parent6cf54c5fbea99109d45beb50098fbe3c0eb0b6ce (diff)
downloadsamba-3e2e8d2f4d7fea7be34a10dbf4796a8b8edcf8c6.tar.gz
samba-3e2e8d2f4d7fea7be34a10dbf4796a8b8edcf8c6.tar.bz2
samba-3e2e8d2f4d7fea7be34a10dbf4796a8b8edcf8c6.zip
Add 'net rpc group [add|del]mem' for domain groups and aliases.
Volker (This used to be commit 6785dc84ce4d9c2d5ebe3113c7f506947b09a7f8)
Diffstat (limited to 'source3/rpc_parse/parse_samr.c')
-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 402f23bde8..287dc3bd7f 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;
}
/*******************************************************************