From 0dd6ea2f3a18290283a62888c9fa702aa343eed2 Mon Sep 17 00:00:00 2001 From: Jim McDonough Date: Wed, 3 Mar 2004 17:44:10 +0000 Subject: more usrmgr fixes: display lockout timers in minutes, not seconds, for samr 2e (This used to be commit 95e7cfdb19bab4a5aac59e10afb3b1416e6079c5) --- source3/rpc_server/srv_samr_nt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/rpc_server') diff --git a/source3/rpc_server/srv_samr_nt.c b/source3/rpc_server/srv_samr_nt.c index 1959674f0a..15a4cf1ae4 100644 --- a/source3/rpc_server/srv_samr_nt.c +++ b/source3/rpc_server/srv_samr_nt.c @@ -4469,10 +4469,10 @@ NTSTATUS _samr_unknown_2e(pipes_struct *p, SAMR_Q_UNKNOWN_2E *q_u, SAMR_R_UNKNOW break; case 0x0c: account_policy_get(AP_LOCK_ACCOUNT_DURATION, &account_policy_temp); - u_lock_duration = account_policy_temp; + u_lock_duration = account_policy_temp * 60; account_policy_get(AP_RESET_COUNT_TIME, &account_policy_temp); - u_reset_time = account_policy_temp; + u_reset_time = account_policy_temp * 60; account_policy_get(AP_BAD_ATTEMPT_LOCKOUT, &account_policy_temp); lockout = account_policy_temp; -- cgit