diff options
author | Jim McDonough <jmcd@samba.org> | 2004-03-03 17:44:10 +0000 |
---|---|---|
committer | Jim McDonough <jmcd@samba.org> | 2004-03-03 17:44:10 +0000 |
commit | 0dd6ea2f3a18290283a62888c9fa702aa343eed2 (patch) | |
tree | e9d16de8ff0adedb60e2e3684540f226b30d8900 /source3/rpc_server | |
parent | 3bdcd5c8ce8ef9cc270e6dcf39ccf81484577bcd (diff) | |
download | samba-0dd6ea2f3a18290283a62888c9fa702aa343eed2.tar.gz samba-0dd6ea2f3a18290283a62888c9fa702aa343eed2.tar.bz2 samba-0dd6ea2f3a18290283a62888c9fa702aa343eed2.zip |
more usrmgr fixes: display lockout timers in minutes, not seconds, for samr 2e
(This used to be commit 95e7cfdb19bab4a5aac59e10afb3b1416e6079c5)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_samr_nt.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |