summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-02-01 17:25:09 +0100
committerGünther Deschner <gd@samba.org>2008-02-02 13:37:20 +0100
commit00073422d5b61e1e2182475d9aa44290d466fb0f (patch)
tree3ce3186aaa985a96da40c58b118185b4d49a84cf /source3/rpc_client
parent65172ba6b8efd6757c392d0957876d5d81f04348 (diff)
downloadsamba-00073422d5b61e1e2182475d9aa44290d466fb0f.tar.gz
samba-00073422d5b61e1e2182475d9aa44290d466fb0f.tar.bz2
samba-00073422d5b61e1e2182475d9aa44290d466fb0f.zip
Remove unused marshalling for SAMR_SET_SEC_OBJ.
Guenther (This used to be commit 90982cf43ab549a19b4d45860504bb7db57c7c8a)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_samr.c34
1 files changed, 0 insertions, 34 deletions
diff --git a/source3/rpc_client/cli_samr.c b/source3/rpc_client/cli_samr.c
index 4362c2bc8b..72e6fd3444 100644
--- a/source3/rpc_client/cli_samr.c
+++ b/source3/rpc_client/cli_samr.c
@@ -1497,40 +1497,6 @@ NTSTATUS rpccli_samr_remove_sid_foreign_domain(struct rpc_pipe_client *cli,
return result;
}
-/* Set user security object */
-
-NTSTATUS rpccli_samr_set_sec_obj(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
- POLICY_HND *user_pol, uint32 sec_info,
- SEC_DESC_BUF *sec_desc_buf)
-{
- prs_struct qbuf, rbuf;
- SAMR_Q_SET_SEC_OBJ q;
- SAMR_R_SET_SEC_OBJ r;
- NTSTATUS result = NT_STATUS_UNSUCCESSFUL;
-
- DEBUG(10,("cli_samr_set_sec_obj\n"));
-
- ZERO_STRUCT(q);
- ZERO_STRUCT(r);
-
- /* Marshall data and send request */
-
- init_samr_q_set_sec_obj(&q, user_pol, sec_info, sec_desc_buf);
-
- CLI_DO_RPC(cli, mem_ctx, PI_SAMR, SAMR_SET_SEC_OBJECT,
- q, r,
- qbuf, rbuf,
- samr_io_q_set_sec_obj,
- samr_io_r_set_sec_obj,
- NT_STATUS_UNSUCCESSFUL);
-
- /* Return output parameters */
-
- result = r.status;
-
- return result;
-}
-
/* Lookup Domain Name */
NTSTATUS rpccli_samr_lookup_domain(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,