summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2004-03-03 17:44:00 +0000
committerJim McDonough <jmcd@samba.org>2004-03-03 17:44:00 +0000
commitb737769a7477351f7f9670e14b06728b9df46389 (patch)
treeb9d8ee3ffee60f26aea544976078d67fbcbbf617
parent8d12b8768a750c064706053c87016c522964656a (diff)
downloadsamba-b737769a7477351f7f9670e14b06728b9df46389.tar.gz
samba-b737769a7477351f7f9670e14b06728b9df46389.tar.bz2
samba-b737769a7477351f7f9670e14b06728b9df46389.zip
more usrmgr fixes: display lockout timers in minutes, not seconds, for samr 2e
(This used to be commit 832674c099a3ff9bb747dba6235e47d40a930abd)
-rw-r--r--source3/rpc_server/srv_samr_nt.c4
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 a817627127..35a6f37e17 100644
--- a/source3/rpc_server/srv_samr_nt.c
+++ b/source3/rpc_server/srv_samr_nt.c
@@ -4434,10 +4434,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;