summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2005-11-22 13:58:51 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:05:30 -0500
commite09cc27d3b0156fd410c1e47cbbb6686819119d4 (patch)
tree85434bf464951ee7a1889c4adbe62d7b4efc7a8b /source3/rpc_client
parentcf974b8d609b28b54854dbf765f9169a904bda49 (diff)
downloadsamba-e09cc27d3b0156fd410c1e47cbbb6686819119d4.tar.gz
samba-e09cc27d3b0156fd410c1e47cbbb6686819119d4.tar.bz2
samba-e09cc27d3b0156fd410c1e47cbbb6686819119d4.zip
r11852: Fill in samr_get_dom_pwinfo based on Samba4.
Guenther (This used to be commit a8bc4bc902075cfd009dc92674c4560a44a74277)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_samr.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/rpc_client/cli_samr.c b/source3/rpc_client/cli_samr.c
index d68c72e20c..047d0a1f95 100644
--- a/source3/rpc_client/cli_samr.c
+++ b/source3/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;