From 44c4c53172c7549839f5991d720f47816aa0878f Mon Sep 17 00:00:00 2001 From: Lars Kneschke Date: Sat, 2 Dec 2000 14:42:50 +0000 Subject: [PATCH] set account_lastpwd_change when importing ldap data. so users are not forced to change their password. --- setup/ldap.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup/ldap.php b/setup/ldap.php index 3ddb6461e7..1bde0879ad 100644 --- a/setup/ldap.php +++ b/setup/ldap.php @@ -96,8 +96,8 @@ // do some checks before we try to import the data if (!empty($account[1]["account_id"]) && !empty($account[1]["account_lid"])) $db->query("insert into accounts (account_id,account_lid,account_pwd,account_permissions," - . "account_groups,account_status) values ('" . $account[1]["account_id"] . "','" - . $account[1]["account_lid"] . "','x','$np',',1:0,','A')",__LINE__,__FILE__); + . "account_groups,account_status,account_lastpwd_change) values ('" . $account[1]["account_id"] . "','" + . $account[1]["account_lid"] . "','x','$np',',1:0,','A','".time()."')",__LINE__,__FILE__); } $setup_complete = True; }