summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2004-02-25 20:02:41 +0000
committerJim McDonough <jmcd@samba.org>2004-02-25 20:02:41 +0000
commit4b6cb540de9dc04d3329062513895976f4214004 (patch)
treec7e0c4e08b8daecdb4ce8334a1a7e6cd04733983 /source3/rpc_server
parentf6b68d962f15c464f3ade953b4651f33733cfd2f (diff)
downloadsamba-4b6cb540de9dc04d3329062513895976f4214004.tar.gz
samba-4b6cb540de9dc04d3329062513895976f4214004.tar.bz2
samba-4b6cb540de9dc04d3329062513895976f4214004.zip
Do the query part of the previous fix...reset time and duration are set in minutes, not seconds. Works from usrmgr.
(This used to be commit d02dd0e5f5fae3256b1922c2963e18c8fa36a3e6)
Diffstat (limited to 'source3/rpc_server')
-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 10069abb76..58dcd48d8d 100644
--- a/source3/rpc_server/srv_samr_nt.c
+++ b/source3/rpc_server/srv_samr_nt.c
@@ -2081,10 +2081,10 @@ NTSTATUS _samr_query_dom_info(pipes_struct *p, SAMR_Q_QUERY_DOMAIN_INFO *q_u, SA
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;