summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-02-01 12:21:15 +0100
committerGünther Deschner <gd@samba.org>2008-02-01 12:29:45 +0100
commit331c1ad49b02a00541cc73cb6b6ccc6fc6a9c7d2 (patch)
tree344bbeddcb8a56fd75377e1346a687354438237c /source3/rpc_client
parent482eaa8e5cccd716be07f5eb1536097452214790 (diff)
downloadsamba-331c1ad49b02a00541cc73cb6b6ccc6fc6a9c7d2.tar.gz
samba-331c1ad49b02a00541cc73cb6b6ccc6fc6a9c7d2.tar.bz2
samba-331c1ad49b02a00541cc73cb6b6ccc6fc6a9c7d2.zip
Remove unused marshalling for SAMR_OPEN_GROUP.
Guenther (This used to be commit 9660a341b6b32609b28770130e974d674ab31215)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_samr.c40
1 files changed, 0 insertions, 40 deletions
diff --git a/source3/rpc_client/cli_samr.c b/source3/rpc_client/cli_samr.c
index b5d2e4a700..26f5a66ecf 100644
--- a/source3/rpc_client/cli_samr.c
+++ b/source3/rpc_client/cli_samr.c
@@ -133,46 +133,6 @@ NTSTATUS rpccli_samr_open_user(struct rpc_pipe_client *cli,
return result;
}
-/* Open handle on a group */
-
-NTSTATUS rpccli_samr_open_group(struct rpc_pipe_client *cli,
- TALLOC_CTX *mem_ctx,
- POLICY_HND *domain_pol, uint32 access_mask,
- uint32 group_rid, POLICY_HND *group_pol)
-{
- prs_struct qbuf, rbuf;
- SAMR_Q_OPEN_GROUP q;
- SAMR_R_OPEN_GROUP r;
- NTSTATUS result = NT_STATUS_UNSUCCESSFUL;
-
- DEBUG(10,("cli_samr_open_group with rid 0x%x\n", group_rid ));
-
- ZERO_STRUCT(q);
- ZERO_STRUCT(r);
-
- /* Marshall data and send request */
-
- init_samr_q_open_group(&q, domain_pol, access_mask, group_rid);
-
- CLI_DO_RPC(cli, mem_ctx, PI_SAMR, SAMR_OPEN_GROUP,
- q, r,
- qbuf, rbuf,
- samr_io_q_open_group,
- samr_io_r_open_group,
- NT_STATUS_UNSUCCESSFUL);
-
- /* Return output parameters */
-
- if (NT_STATUS_IS_OK(result = r.status)) {
- *group_pol = r.pol;
-#ifdef __INSURE__
- group_pol->marker = malloc(1);
-#endif
- }
-
- return result;
-}
-
/* Create domain group */
NTSTATUS rpccli_samr_create_dom_group(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,