X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Flib%2Fauth%2FAuth_ldap.class.php;h=f99d752a064ab8e8d26a0e1357a6732b7b506e4d;hb=c8144edb537a2447d78cda4a2e6c53616a63c876;hp=0001f296ddb701eadf57382b7b8de56f4996c7a8;hpb=40c8b0474bb4204ee1c843398c86b8adecaedb14;p=timetracker.git 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)) {