diff options
author | Günther Deschner <gd@samba.org> | 2008-02-06 19:07:31 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-02-08 22:38:34 +0100 |
commit | bdf2e4f23f9da220e214afe410d86e482525467b (patch) | |
tree | 9e6a8ceb12ad7ee503bfe525ff4abf106e4c3da3 /source3/rpcclient | |
parent | 7643300a92d61a3b8d8a64d2ba94f3a37a426c6a (diff) | |
download | samba-bdf2e4f23f9da220e214afe410d86e482525467b.tar.gz samba-bdf2e4f23f9da220e214afe410d86e482525467b.tar.bz2 samba-bdf2e4f23f9da220e214afe410d86e482525467b.zip |
Use rpccli_lsa_CreateAccount() in rpcclient.
Guenther
(This used to be commit 43ab24c11e0268a8f57780b7abce1c744e8690b4)
Diffstat (limited to 'source3/rpcclient')
-rw-r--r-- | source3/rpcclient/cmd_lsarpc.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/source3/rpcclient/cmd_lsarpc.c b/source3/rpcclient/cmd_lsarpc.c index 9bd4a5e0fc..fb8ca76d3b 100644 --- a/source3/rpcclient/cmd_lsarpc.c +++ b/source3/rpcclient/cmd_lsarpc.c @@ -585,7 +585,7 @@ static NTSTATUS cmd_lsa_create_account(struct rpc_pipe_client *cli, const char **argv) { POLICY_HND dom_pol; - POLICY_HND user_pol; + POLICY_HND *user_pol = NULL; NTSTATUS result = NT_STATUS_UNSUCCESSFUL; uint32 des_access = 0x000f000f; @@ -607,7 +607,11 @@ static NTSTATUS cmd_lsa_create_account(struct rpc_pipe_client *cli, if (!NT_STATUS_IS_OK(result)) goto done; - result = rpccli_lsa_create_account(cli, mem_ctx, &dom_pol, &sid, des_access, &user_pol); + result = rpccli_lsa_CreateAccount(cli, mem_ctx, + &dom_pol, + &sid, + des_access, + &user_pol); if (!NT_STATUS_IS_OK(result)) goto done; |