diff options
author | Andrew Bartlett <abartlet@samba.org> | 2004-11-17 11:56:13 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:05:55 -0500 |
commit | 9aec081fd9f8fb46e7d97090f97a75ee5cbebde3 (patch) | |
tree | 07f753612d05307ced80b59dacd7912bbab96906 /source4/rpc_server/samr/samr_password.c | |
parent | db95baf55ece57a884b9fdf5342348cc4948e26e (diff) | |
download | samba-9aec081fd9f8fb46e7d97090f97a75ee5cbebde3.tar.gz samba-9aec081fd9f8fb46e7d97090f97a75ee5cbebde3.tar.bz2 samba-9aec081fd9f8fb46e7d97090f97a75ee5cbebde3.zip |
r3804: Add more comparison tests in RPC-SAMSYNC.
This compares values for the domain and for secrets. We still have
some problems we need to sort out for secrets.
Also rename a number of structures in samr.idl and netlogon.idl, to
better express their consistancy.
Andrew Bartlett
(This used to be commit 3f52fa3a42b030c9aef21c8bd88aad87a0aae078)
Diffstat (limited to 'source4/rpc_server/samr/samr_password.c')
-rw-r--r-- | source4/rpc_server/samr/samr_password.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source4/rpc_server/samr/samr_password.c b/source4/rpc_server/samr/samr_password.c index 8e88abfc16..6f99508122 100644 --- a/source4/rpc_server/samr/samr_password.c +++ b/source4/rpc_server/samr/samr_password.c @@ -374,11 +374,11 @@ failed: return status; } - dominfo->min_password_len = samdb_result_uint (res[0], "minPwdLength", 0); - dominfo->password_properties = samdb_result_uint (res[0], "pwdProperties", 0); - dominfo->password_history = samdb_result_uint (res[0], "pwdHistoryLength", 0); - dominfo->max_password_age = samdb_result_int64(res[0], "maxPwdAge", 0); - dominfo->min_password_age = samdb_result_int64(res[0], "minPwdAge", 0); + dominfo->min_password_length = samdb_result_uint (res[0], "minPwdLength", 0); + dominfo->password_properties = samdb_result_uint (res[0], "pwdProperties", 0); + dominfo->password_history_length = samdb_result_uint (res[0], "pwdHistoryLength", 0); + dominfo->max_password_age = samdb_result_int64(res[0], "maxPwdAge", 0); + dominfo->min_password_age = samdb_result_int64(res[0], "minPwdAge", 0); return status; } |