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; }