diff --git a/conf/config.inc.php b/conf/config.inc.php index 0029fc1..4dcf4b1 100644 --- a/conf/config.inc.php +++ b/conf/config.inc.php @@ -118,7 +118,7 @@ $display_items = array('identifier', 'firstname', 'lastname', 'title', 'businesscategory', 'employeenumber', 'employeetype', 'mail', 'mailquota', 'phone', 'mobile', 'fax', 'postaladdress', 'street', 'postalcode', 'l', 'state', 'organizationalunit', 'organization', 'manager', 'secretary' ); $display_title = "fullname"; $display_show_undefined = false; -$display_password_items = array('pwdchangedtime', 'pwdfailuretime','pwdpolicysubentry', 'authtimestamp', 'pwdlastsuccess', 'pwdgraceusetime', 'starttime', 'endtime', 'created', 'modified'); +$display_password_items = array('pwdchangedtime', 'pwdfailuretime','pwdpolicysubentry', 'authtimestamp', 'pwdgraceusetime', 'starttime', 'endtime', 'created', 'modified'); $display_password_expiration_date = true; # Features diff --git a/htdocs/index.php b/htdocs/index.php index f7429a7..a3c26f1 100644 --- a/htdocs/index.php +++ b/htdocs/index.php @@ -75,6 +75,7 @@ # Load specific directory settings switch($ldap_type) { case "openldap": + $openldap_attributes_map['authtimestamp']['attribute'] = strtolower($ldap_lastauth_attribute); $attributes_map = array_merge($attributes_map, $openldap_attributes_map); $directory = new \Ltb\Directory\OpenLDAP(); break;