diff options
author | Günther Deschner <gd@samba.org> | 2008-02-06 19:07:01 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-02-08 22:38:34 +0100 |
commit | c9a8baf5077a4e93cca241a5ec73f6ade97af607 (patch) | |
tree | a8990657ba3066b350ae8eb58e640d0b1d8ab12f /source/rpc_client | |
parent | 43ab24c11e0268a8f57780b7abce1c744e8690b4 (diff) | |
download | samba-c9a8baf5077a4e93cca241a5ec73f6ade97af607.tar.gz samba-c9a8baf5077a4e93cca241a5ec73f6ade97af607.tar.xz samba-c9a8baf5077a4e93cca241a5ec73f6ade97af607.zip |
Remove unused marshalling for LSA_CREATEACCOUNT.
Guenther
Diffstat (limited to 'source/rpc_client')
-rw-r--r-- | source/rpc_client/cli_lsarpc.c | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/source/rpc_client/cli_lsarpc.c b/source/rpc_client/cli_lsarpc.c index 250bf3e190a..514b8f5dfdb 100644 --- a/source/rpc_client/cli_lsarpc.c +++ b/source/rpc_client/cli_lsarpc.c @@ -721,49 +721,6 @@ NTSTATUS rpccli_lsa_enum_sids(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, return result; } -/** Create a LSA user handle - * - * @param cli Handle on an initialised SMB connection - * - * FIXME: The code is actually identical to open account - * TODO: Check and code what the function should exactly do - * - * */ - -NTSTATUS rpccli_lsa_create_account(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, - POLICY_HND *dom_pol, DOM_SID *sid, uint32 desired_access, - POLICY_HND *user_pol) -{ - prs_struct qbuf, rbuf; - LSA_Q_CREATEACCOUNT q; - LSA_R_CREATEACCOUNT r; - NTSTATUS result; - - ZERO_STRUCT(q); - ZERO_STRUCT(r); - - /* Initialise input parameters */ - - init_lsa_q_create_account(&q, dom_pol, sid, desired_access); - - CLI_DO_RPC( cli, mem_ctx, PI_LSARPC, LSA_CREATEACCOUNT, - q, r, - qbuf, rbuf, - lsa_io_q_create_account, - lsa_io_r_create_account, - NT_STATUS_UNSUCCESSFUL); - - /* Return output parameters */ - - result = r.status; - - if (NT_STATUS_IS_OK(result)) { - *user_pol = r.pol; - } - - return result; -} - /** Open a LSA user handle * * @param cli Handle on an initialised SMB connection */ |