summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_samr.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-02-06 12:53:43 +0100
committerGünther Deschner <gd@samba.org>2008-02-07 10:56:14 +0100
commitc56cb9d0dc84264e0d887d01afb0c28320d70454 (patch)
tree51fcb6db68f5739106f9a496b5a2489b7b9b83fe /source3/rpc_server/srv_samr.c
parent44f1485f0b10fdbb1f9adf833e0255affd56360c (diff)
downloadsamba-c56cb9d0dc84264e0d887d01afb0c28320d70454.tar.gz
samba-c56cb9d0dc84264e0d887d01afb0c28320d70454.tar.bz2
samba-c56cb9d0dc84264e0d887d01afb0c28320d70454.zip
Use pidl for _samr_SetAliasInfo().
Guenther (This used to be commit f483797c688ee1a5c5f7e183cdf7c1b700b7db31)
Diffstat (limited to 'source3/rpc_server/srv_samr.c')
-rw-r--r--source3/rpc_server/srv_samr.c23
1 files changed, 1 insertions, 22 deletions
diff --git a/source3/rpc_server/srv_samr.c b/source3/rpc_server/srv_samr.c
index a547f0acd1..a38e9461c4 100644
--- a/source3/rpc_server/srv_samr.c
+++ b/source3/rpc_server/srv_samr.c
@@ -744,28 +744,7 @@ static bool api_samr_set_groupinfo(pipes_struct *p)
static bool api_samr_set_aliasinfo(pipes_struct *p)
{
- SAMR_Q_SET_ALIASINFO q_u;
- SAMR_R_SET_ALIASINFO r_u;
-
- prs_struct *data = &p->in_data.data;
- prs_struct *rdata = &p->out_data.rdata;
-
- ZERO_STRUCT(q_u);
- ZERO_STRUCT(r_u);
-
- if (!samr_io_q_set_aliasinfo("", &q_u, data, 0)) {
- DEBUG(0,("api_samr_set_aliasinfo: unable to unmarshall SAMR_Q_SET_ALIASINFO.\n"));
- return False;
- }
-
- r_u.status = _samr_set_aliasinfo(p, &q_u, &r_u);
-
- if (!samr_io_r_set_aliasinfo("", &r_u, rdata, 0)) {
- DEBUG(0,("api_samr_set_aliasinfo: unable to marshall SAMR_R_SET_ALIASINFO.\n"));
- return False;
- }
-
- return True;
+ return proxy_samr_call(p, NDR_SAMR_SETALIASINFO);
}
/*******************************************************************