diff options
author | Günther Deschner <gd@samba.org> | 2005-11-22 13:58:51 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:05:30 -0500 |
commit | a8bc4bc902075cfd009dc92674c4560a44a74277 (patch) | |
tree | 42d8b5a39af744d50b36211191733d6e910d215c /source/rpc_client/cli_samr.c | |
parent | 4d681f560e59dd483f580c5fe5299af6242ae7c2 (diff) | |
download | samba-a8bc4bc902075cfd009dc92674c4560a44a74277.tar.gz samba-a8bc4bc902075cfd009dc92674c4560a44a74277.tar.xz samba-a8bc4bc902075cfd009dc92674c4560a44a74277.zip |
r11852: Fill in samr_get_dom_pwinfo based on Samba4.
Guenther
Diffstat (limited to 'source/rpc_client/cli_samr.c')
-rw-r--r-- | source/rpc_client/cli_samr.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/rpc_client/cli_samr.c b/source/rpc_client/cli_samr.c index d68c72e20c8..047d0a1f956 100644 --- a/source/rpc_client/cli_samr.c +++ b/source/rpc_client/cli_samr.c @@ -1723,7 +1723,7 @@ NTSTATUS rpccli_samr_query_sec_obj(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ /* Get domain password info */ NTSTATUS rpccli_samr_get_dom_pwinfo(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, - uint16 *unk_0, uint16 *unk_1) + uint16 *min_pwd_length, uint32 *password_properties) { prs_struct qbuf, rbuf; SAMR_Q_GET_DOM_PWINFO q; @@ -1751,10 +1751,10 @@ NTSTATUS rpccli_samr_get_dom_pwinfo(struct rpc_pipe_client *cli, TALLOC_CTX *mem result = r.status; if (NT_STATUS_IS_OK(result)) { - if (unk_0) - *unk_0 = r.unk_0; - if (unk_1) - *unk_1 = r.unk_1; + if (min_pwd_length) + *min_pwd_length = r.min_pwd_length; + if (password_properties) + *password_properties = r.password_properties; } return result; |