summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-02-04 19:17:41 +0100
committerGünther Deschner <gd@samba.org>2008-02-04 19:17:41 +0100
commitd93631f96f4aa1d3e551d511e4058f0a9f731fc2 (patch)
tree5b0d11773ddfb69b342c999c70e8bd33a6c47f74 /source3/rpc_client
parentdcc9565e57543991906fc0f7518339031e7704c8 (diff)
downloadsamba-d93631f96f4aa1d3e551d511e4058f0a9f731fc2.tar.gz
samba-d93631f96f4aa1d3e551d511e4058f0a9f731fc2.tar.bz2
samba-d93631f96f4aa1d3e551d511e4058f0a9f731fc2.zip
Remove unused marshalling for SAMR_CONNECT_4.
Guenther (This used to be commit 86d00328aead337026a1550ee888ee3f646f62b2)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_samr.c36
1 files changed, 0 insertions, 36 deletions
diff --git a/source3/rpc_client/cli_samr.c b/source3/rpc_client/cli_samr.c
index 1534b14ce2..9970c8d2e4 100644
--- a/source3/rpc_client/cli_samr.c
+++ b/source3/rpc_client/cli_samr.c
@@ -59,42 +59,6 @@ NTSTATUS rpccli_samr_connect(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
return result;
}
-/* Connect to SAMR database */
-
-NTSTATUS rpccli_samr_connect4(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
- uint32 access_mask, POLICY_HND *connect_pol)
-{
- prs_struct qbuf, rbuf;
- SAMR_Q_CONNECT4 q;
- SAMR_R_CONNECT4 r;
- NTSTATUS result = NT_STATUS_UNSUCCESSFUL;
-
- ZERO_STRUCT(q);
- ZERO_STRUCT(r);
-
- /* Marshall data and send request */
-
- init_samr_q_connect4(&q, cli->cli->desthost, access_mask);
-
- CLI_DO_RPC(cli, mem_ctx, PI_SAMR, SAMR_CONNECT4,
- q, r,
- qbuf, rbuf,
- samr_io_q_connect4,
- samr_io_r_connect4,
- NT_STATUS_UNSUCCESSFUL);
-
- /* Return output parameters */
-
- if (NT_STATUS_IS_OK(result = r.status)) {
- *connect_pol = r.connect_pol;
-#ifdef __INSURE__
- connect_pol->marker = malloc(1);
-#endif
- }
-
- return result;
-}
-
/* Query user info */
NTSTATUS rpccli_samr_query_userinfo(struct rpc_pipe_client *cli,