diff options
author | Günther Deschner <gd@samba.org> | 2008-02-04 18:26:18 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-02-04 18:45:25 +0100 |
commit | 944f11af5b2e90cb98a1a4f9681c893af644cff6 (patch) | |
tree | b3a028bbf2f617d026cbb80788e39f2fcd97dd52 /source3/rpc_client | |
parent | babf5d5f5c313ba14f2d25917bb9f4a3feb44e95 (diff) | |
download | samba-944f11af5b2e90cb98a1a4f9681c893af644cff6.tar.gz samba-944f11af5b2e90cb98a1a4f9681c893af644cff6.tar.bz2 samba-944f11af5b2e90cb98a1a4f9681c893af644cff6.zip |
Remove unused marshalling for SAMR_ADD_GROUPMEM.
Guenther
(This used to be commit 83d1b7429ea902742c9c1f42fca57fb1757fc2b4)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r-- | source3/rpc_client/cli_samr.c | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/source3/rpc_client/cli_samr.c b/source3/rpc_client/cli_samr.c index 26e5aaf506..1534b14ce2 100644 --- a/source3/rpc_client/cli_samr.c +++ b/source3/rpc_client/cli_samr.c @@ -95,39 +95,6 @@ NTSTATUS rpccli_samr_connect4(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, return result; } -/* Add a domain group member */ - -NTSTATUS rpccli_samr_add_groupmem(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, - POLICY_HND *group_pol, uint32 rid) -{ - prs_struct qbuf, rbuf; - SAMR_Q_ADD_GROUPMEM q; - SAMR_R_ADD_GROUPMEM r; - NTSTATUS result = NT_STATUS_UNSUCCESSFUL; - - DEBUG(10,("cli_samr_add_groupmem\n")); - - ZERO_STRUCT(q); - ZERO_STRUCT(r); - - /* Marshall data and send request */ - - init_samr_q_add_groupmem(&q, group_pol, rid); - - CLI_DO_RPC(cli, mem_ctx, PI_SAMR, SAMR_ADD_GROUPMEM, - q, r, - qbuf, rbuf, - samr_io_q_add_groupmem, - samr_io_r_add_groupmem, - NT_STATUS_UNSUCCESSFUL); - - /* Return output parameters */ - - result = r.status; - - return result; -} - /* Query user info */ NTSTATUS rpccli_samr_query_userinfo(struct rpc_pipe_client *cli, |