diff options
author | Jeremy Allison <jra@samba.org> | 2008-01-23 13:54:02 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2008-01-23 13:54:02 -0800 |
commit | a0186fb78d05aa997b114eee6afabaf138540ab8 (patch) | |
tree | 0b0ed3842165a0b859858325821e95380b440209 /source3/rpc_client | |
parent | a925a53f61ebdc6b4386b7c0853f2f87cbe2e166 (diff) | |
download | samba-a0186fb78d05aa997b114eee6afabaf138540ab8.tar.gz samba-a0186fb78d05aa997b114eee6afabaf138540ab8.tar.bz2 samba-a0186fb78d05aa997b114eee6afabaf138540ab8.zip |
Forward ported version of Matt Geddes <musicalcarrion@gmail.com>
patch for adding acct_flags to rpccli_samr_create_dom_user().
Jerry please test.
Jeremy.
(This used to be commit 7d94f97947b7edfcf3ec52f0125e4593d6d54c05)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r-- | source3/rpc_client/cli_samr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_client/cli_samr.c b/source3/rpc_client/cli_samr.c index bf8313816c..7cf8726052 100644 --- a/source3/rpc_client/cli_samr.c +++ b/source3/rpc_client/cli_samr.c @@ -1643,7 +1643,7 @@ NTSTATUS rpccli_samr_lookup_names(struct rpc_pipe_client *cli, TALLOC_CTX *mem_c NTSTATUS rpccli_samr_create_dom_user(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, POLICY_HND *domain_pol, const char *acct_name, - uint32 acb_info, uint32 access_mask, + uint32 acb_info, uint32 acct_flags, POLICY_HND *user_pol, uint32 *rid) { prs_struct qbuf, rbuf; @@ -1658,7 +1658,7 @@ NTSTATUS rpccli_samr_create_dom_user(struct rpc_pipe_client *cli, TALLOC_CTX *me /* Marshall data and send request */ - init_samr_q_create_user(&q, domain_pol, acct_name, acb_info, access_mask); + init_samr_q_create_user(&q, domain_pol, acct_name, acb_info, acct_flags); CLI_DO_RPC(cli, mem_ctx, PI_SAMR, SAMR_CREATE_USER, q, r, |