summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-02-04 22:16:21 +0100
committerGünther Deschner <gd@samba.org>2008-02-05 09:39:25 +0100
commit0bffd59a4c6dc158a7f6efafaf189bf7f2f7397b (patch)
treef8c05acba85032fe080a31a6856e1a122b65ca8d /source3/rpc_client
parent97ccb4f8a31cc74cce3566ec30aaad57de0bc894 (diff)
downloadsamba-0bffd59a4c6dc158a7f6efafaf189bf7f2f7397b.tar.gz
samba-0bffd59a4c6dc158a7f6efafaf189bf7f2f7397b.tar.bz2
samba-0bffd59a4c6dc158a7f6efafaf189bf7f2f7397b.zip
Remove unused marshalling for SAMR_CONNECT.
Guenther (This used to be commit 2b1bc8ab68a0ed8fb77030d421618cf4a664f5e3)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_samr.c37
1 files changed, 0 insertions, 37 deletions
diff --git a/source3/rpc_client/cli_samr.c b/source3/rpc_client/cli_samr.c
index 9970c8d2e4..a35b5dc6a3 100644
--- a/source3/rpc_client/cli_samr.c
+++ b/source3/rpc_client/cli_samr.c
@@ -22,43 +22,6 @@
#include "includes.h"
-/* Connect to SAMR database */
-
-NTSTATUS rpccli_samr_connect(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
- uint32 access_mask, POLICY_HND *connect_pol)
-{
- prs_struct qbuf, rbuf;
- SAMR_Q_CONNECT q;
- SAMR_R_CONNECT r;
- NTSTATUS result = NT_STATUS_UNSUCCESSFUL;
-
- DEBUG(10,("cli_samr_connect to %s\n", cli->cli->desthost));
-
- ZERO_STRUCT(q);
- ZERO_STRUCT(r);
-
- /* Marshall data and send request */
-
- init_samr_q_connect(&q, cli->cli->desthost, access_mask);
-
- CLI_DO_RPC(cli, mem_ctx, PI_SAMR, SAMR_CONNECT,
- q, r,
- qbuf, rbuf,
- samr_io_q_connect,
- samr_io_r_connect,
- 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,