summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_samr.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-02-05 02:04:56 +0100
committerGünther Deschner <gd@samba.org>2008-02-05 10:13:01 +0100
commitf3d5f695646ef498889405c3b49c6b220df9d004 (patch)
tree7aea426d7239475d6c1fc15bbbc75599ea6b4b12 /source3/rpc_server/srv_samr.c
parent636229cc09cb809cd8a27de4fc2c385148c06e34 (diff)
downloadsamba-f3d5f695646ef498889405c3b49c6b220df9d004.tar.gz
samba-f3d5f695646ef498889405c3b49c6b220df9d004.tar.bz2
samba-f3d5f695646ef498889405c3b49c6b220df9d004.zip
Use pidl for _samr_GetAliasMembership().
Guenther (This used to be commit b573f677239fbf176468796bb05c4b43dce47262)
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 8c71e5ea1e..6375d6dbd3 100644
--- a/source3/rpc_server/srv_samr.c
+++ b/source3/rpc_server/srv_samr.c
@@ -619,28 +619,7 @@ static bool api_samr_set_userinfo2(pipes_struct *p)
static bool api_samr_query_useraliases(pipes_struct *p)
{
- SAMR_Q_QUERY_USERALIASES q_u;
- SAMR_R_QUERY_USERALIASES 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_query_useraliases("", &q_u, data, 0)) {
- DEBUG(0,("api_samr_query_useraliases: Unable to unmarshall SAMR_Q_QUERY_USERALIASES.\n"));
- return False;
- }
-
- r_u.status = _samr_query_useraliases(p, &q_u, &r_u);
-
- if (! samr_io_r_query_useraliases("", &r_u, rdata, 0)) {
- DEBUG(0,("api_samr_query_useraliases: Unable to nmarshall SAMR_R_QUERY_USERALIASES.\n"));
- return False;
- }
-
- return True;
+ return proxy_samr_call(p, NDR_SAMR_GETALIASMEMBERSHIP);
}
/*******************************************************************