summaryrefslogtreecommitdiff
path: root/source3/rpc_parse
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-02-07 13:14:40 +0100
committerGünther Deschner <gd@samba.org>2008-02-07 13:34:57 +0100
commitf7ad51084c87e5063e231c9bf024a354349d6a21 (patch)
treed9287e8379773c0b4b12a9ffa53e6e64c8eb72b3 /source3/rpc_parse
parente3b4db88074cc98eb9dfc4909b444b2576fcca5c (diff)
downloadsamba-f7ad51084c87e5063e231c9bf024a354349d6a21.tar.gz
samba-f7ad51084c87e5063e231c9bf024a354349d6a21.tar.bz2
samba-f7ad51084c87e5063e231c9bf024a354349d6a21.zip
Use pidl for _samr_QueryAliasInfo().
Guenther (This used to be commit 62dacea87ad2323870e5356a348d1d192b3fa888)
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r--source3/rpc_parse/parse_samr.c21
1 files changed, 13 insertions, 8 deletions
diff --git a/source3/rpc_parse/parse_samr.c b/source3/rpc_parse/parse_samr.c
index dad35ec0e1..23fe7d0fc0 100644
--- a/source3/rpc_parse/parse_samr.c
+++ b/source3/rpc_parse/parse_samr.c
@@ -2169,16 +2169,19 @@ bool samr_io_r_enum_dom_aliases(const char *desc, SAMR_R_ENUM_DOM_ALIASES * r_u,
}
/*******************************************************************
-inits a ALIAS_INFO1 structure.
+ inits a samr_AliasInfoAll structure.
********************************************************************/
-void init_samr_alias_info1(ALIAS_INFO1 * al1, char *acct_name, uint32 num_member, char *acct_desc)
+void init_samr_alias_info1(struct samr_AliasInfoAll *r,
+ const char *name,
+ uint32_t num_members,
+ const char *description)
{
DEBUG(5, ("init_samr_alias_info1\n"));
- init_unistr4(&al1->name, acct_name, UNI_FLAGS_NONE);
- al1->num_member = num_member;
- init_unistr4(&al1->description, acct_desc, UNI_FLAGS_NONE);
+ init_lsa_String(&r->name, name);
+ r->num_members = num_members;
+ init_lsa_String(&r->description, description);
}
/*******************************************************************
@@ -2216,15 +2219,17 @@ bool samr_io_alias_info1(const char *desc, ALIAS_INFO1 * al1,
return True;
}
+
/*******************************************************************
-inits a ALIAS_INFO3 structure.
+inits a lsa_String structure.
********************************************************************/
-void init_samr_alias_info3(ALIAS_INFO3 * al3, const char *acct_desc)
+void init_samr_alias_info3(struct lsa_String *r,
+ const char *description)
{
DEBUG(5, ("init_samr_alias_info3\n"));
- init_unistr4(&al3->description, acct_desc, UNI_FLAGS_NONE);
+ init_lsa_String(r, description);
}
/*******************************************************************