summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-02-04 18:16:30 +0100
committerGünther Deschner <gd@samba.org>2008-02-04 18:32:50 +0100
commitc01a62c4d637adedd4e0e41b5f36e2e3ac6f5357 (patch)
treed94365c4edc7d362c85c2ce6efe2d6d373d5a73c /source3/rpc_client
parentdb5054fd99f5a09ca99a5d567e2a8394de9c273e (diff)
downloadsamba-c01a62c4d637adedd4e0e41b5f36e2e3ac6f5357.tar.gz
samba-c01a62c4d637adedd4e0e41b5f36e2e3ac6f5357.tar.bz2
samba-c01a62c4d637adedd4e0e41b5f36e2e3ac6f5357.zip
Remove unused marshalling for SAMR_DEL_GROUPMEM.
Guenther (This used to be commit a65c89c80627280247e25b695eec081386cc4fb6)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_samr.c33
1 files changed, 0 insertions, 33 deletions
diff --git a/source3/rpc_client/cli_samr.c b/source3/rpc_client/cli_samr.c
index 72e6fd3444..26e5aaf506 100644
--- a/source3/rpc_client/cli_samr.c
+++ b/source3/rpc_client/cli_samr.c
@@ -128,39 +128,6 @@ NTSTATUS rpccli_samr_add_groupmem(struct rpc_pipe_client *cli, TALLOC_CTX *mem_c
return result;
}
-/* Delete a domain group member */
-
-NTSTATUS rpccli_samr_del_groupmem(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
- POLICY_HND *group_pol, uint32 rid)
-{
- prs_struct qbuf, rbuf;
- SAMR_Q_DEL_GROUPMEM q;
- SAMR_R_DEL_GROUPMEM r;
- NTSTATUS result = NT_STATUS_UNSUCCESSFUL;
-
- DEBUG(10,("cli_samr_del_groupmem\n"));
-
- ZERO_STRUCT(q);
- ZERO_STRUCT(r);
-
- /* Marshall data and send request */
-
- init_samr_q_del_groupmem(&q, group_pol, rid);
-
- CLI_DO_RPC(cli, mem_ctx, PI_SAMR, SAMR_DEL_GROUPMEM,
- q, r,
- qbuf, rbuf,
- samr_io_q_del_groupmem,
- samr_io_r_del_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,