From: anuko Date: Wed, 12 Apr 2017 22:19:40 +0000 (+0000) Subject: Simplified LDAP search query by removing not neccessary fields for the task. X-Git-Tag: timetracker_1.19-1~1525 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=f0c7475ab019ba5dde997bf064de05570d34c81c;p=timetracker.git Simplified LDAP search query by removing not neccessary fields for the task. --- diff --git a/WEB-INF/lib/auth/Auth_ldap.class.php b/WEB-INF/lib/auth/Auth_ldap.class.php index 0001f296..f99d752a 100644 --- a/WEB-INF/lib/auth/Auth_ldap.class.php +++ b/WEB-INF/lib/auth/Auth_ldap.class.php @@ -140,7 +140,7 @@ class Auth_ldap extends Auth { // Get groups the user is a member of from AD LDAP server. $filter = 'userPrincipalName='.Auth_ldap::ldap_escape($login); - $fields = array('samaccountname', 'mail', 'memberof', 'department', 'displayname', 'telephonenumber', 'primarygroupid'); + $fields = array('memberof'); $sr = @ldap_search($lc, $this->params['base_dn'], $filter, $fields); if (defined('AUTH_DEBUG') && isTrue(AUTH_DEBUG)) { diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index 2ed44e26..73c10788 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.10.41.3625 | Copyright © Anuko | +  Anuko Time Tracker 1.10.41.3626 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve}