diff options
author | Günther Deschner <gd@samba.org> | 2009-07-13 23:53:49 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-07-14 12:12:18 +0200 |
commit | 9f15ef11bdf75dbc1a1af3c2bc35b1d653216f62 (patch) | |
tree | 600d736069915ef79e6acc698204ae05a1fdbda9 /source3/rpc_server/srv_samr_util.c | |
parent | 39fa9468c6b8099429b971d75c0647033b60901c (diff) | |
download | samba-9f15ef11bdf75dbc1a1af3c2bc35b1d653216f62.tar.gz samba-9f15ef11bdf75dbc1a1af3c2bc35b1d653216f62.tar.xz samba-9f15ef11bdf75dbc1a1af3c2bc35b1d653216f62.zip |
s3-account_policy: add pdb_policy_type enum.
Guenther
Diffstat (limited to 'source3/rpc_server/srv_samr_util.c')
-rw-r--r-- | source3/rpc_server/srv_samr_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_samr_util.c b/source3/rpc_server/srv_samr_util.c index 69daa31e9c1..1e5988af330 100644 --- a/source3/rpc_server/srv_samr_util.c +++ b/source3/rpc_server/srv_samr_util.c @@ -619,7 +619,7 @@ void copy_id21_to_sam_passwd(const char *log_prefix, uint32_t pwd_max_age = 0; time_t now = time(NULL); - pdb_get_account_policy(AP_MAX_PASSWORD_AGE, &pwd_max_age); + pdb_get_account_policy(PDB_POLICY_MAX_PASSWORD_AGE, &pwd_max_age); if (pwd_max_age == (uint32_t)-1 || pwd_max_age == 0) { pwd_max_age = get_time_t_max(); |