diff options
author | Günther Deschner <gd@samba.org> | 2008-02-07 13:22:18 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-02-07 13:38:08 +0100 |
commit | de3aec702698a32257613864691923538368a86d (patch) | |
tree | b8a594a68ddd2f5461547fae15cb81f1de568da4 /source3/rpc_client | |
parent | ba9cda7ad910bcd22625d1f0a383627906a7cb13 (diff) | |
download | samba-de3aec702698a32257613864691923538368a86d.tar.gz samba-de3aec702698a32257613864691923538368a86d.tar.bz2 samba-de3aec702698a32257613864691923538368a86d.zip |
Remove unused marshalling for SAMR_QUERY_ALIAS_INFO.
Guenther
(This used to be commit 03dff0194b917099d0fab78f94075d29b553f3ad)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r-- | source3/rpc_client/cli_samr.c | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/source3/rpc_client/cli_samr.c b/source3/rpc_client/cli_samr.c index d454f95617..19c59f2685 100644 --- a/source3/rpc_client/cli_samr.c +++ b/source3/rpc_client/cli_samr.c @@ -366,46 +366,6 @@ NTSTATUS rpccli_samr_enum_als_groups(struct rpc_pipe_client *cli, return result; } -/* Query alias info */ - -NTSTATUS rpccli_samr_query_alias_info(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, - POLICY_HND *alias_pol, uint16 switch_value, - ALIAS_INFO_CTR *ctr) -{ - prs_struct qbuf, rbuf; - SAMR_Q_QUERY_ALIASINFO q; - SAMR_R_QUERY_ALIASINFO r; - NTSTATUS result = NT_STATUS_UNSUCCESSFUL; - - DEBUG(10,("cli_samr_query_alias_info\n")); - - ZERO_STRUCT(q); - ZERO_STRUCT(r); - - /* Marshall data and send request */ - - init_samr_q_query_aliasinfo(&q, alias_pol, switch_value); - - CLI_DO_RPC(cli, mem_ctx, PI_SAMR, SAMR_QUERY_ALIASINFO, - q, r, - qbuf, rbuf, - samr_io_q_query_aliasinfo, - samr_io_r_query_aliasinfo, - NT_STATUS_UNSUCCESSFUL); - - /* Return output parameters */ - - if (!NT_STATUS_IS_OK(result = r.status)) { - goto done; - } - - *ctr = *r.ctr; - - done: - - return result; -} - /* User change password */ NTSTATUS rpccli_samr_chgpasswd_user(struct rpc_pipe_client *cli, |