summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-02-14 14:35:27 +0100
committerGünther Deschner <gd@samba.org>2008-02-14 14:40:27 +0100
commit25bc71f117776024bd2d1f024b44af57c6b33f74 (patch)
tree6e55583adc088b883fd117571aae11d7a80145b6 /source3/rpc_client
parent96aa5dea8e53eaa96511d8091101da7d88046396 (diff)
downloadsamba-25bc71f117776024bd2d1f024b44af57c6b33f74.tar.gz
samba-25bc71f117776024bd2d1f024b44af57c6b33f74.tar.bz2
samba-25bc71f117776024bd2d1f024b44af57c6b33f74.zip
Remove unused marshalling for LSA_ADD_ACCT_RIGHTS.
Guenther (This used to be commit 15b97d1aafd6c8ad936944b611188154b191167f)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_lsarpc.c36
1 files changed, 0 insertions, 36 deletions
diff --git a/source3/rpc_client/cli_lsarpc.c b/source3/rpc_client/cli_lsarpc.c
index 9d9a131a1a..1395aa6632 100644
--- a/source3/rpc_client/cli_lsarpc.c
+++ b/source3/rpc_client/cli_lsarpc.c
@@ -522,42 +522,6 @@ done:
}
-
-/* add account rights to an account. */
-
-NTSTATUS rpccli_lsa_add_account_rights(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
- POLICY_HND *pol, DOM_SID sid,
- uint32 count, const char **privs_name)
-{
- prs_struct qbuf, rbuf;
- LSA_Q_ADD_ACCT_RIGHTS q;
- LSA_R_ADD_ACCT_RIGHTS r;
- NTSTATUS result;
-
- ZERO_STRUCT(q);
- ZERO_STRUCT(r);
-
- /* Marshall data and send request */
- init_q_add_acct_rights(&q, pol, &sid, count, privs_name);
-
- CLI_DO_RPC( cli, mem_ctx, PI_LSARPC, LSA_ADDACCTRIGHTS,
- q, r,
- qbuf, rbuf,
- lsa_io_q_add_acct_rights,
- lsa_io_r_add_acct_rights,
- NT_STATUS_UNSUCCESSFUL);
-
- result = r.status;
-
- if (!NT_STATUS_IS_OK(result)) {
- goto done;
- }
-done:
-
- return result;
-}
-
-
/* remove account rights for an account. */
NTSTATUS rpccli_lsa_remove_account_rights(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,