projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed legacy password handling.
[timetracker.git]
/
WEB-INF
/
lib
/
auth
/
Auth_ldap.class.php
diff --git
a/WEB-INF/lib/auth/Auth_ldap.class.php
b/WEB-INF/lib/auth/Auth_ldap.class.php
index
0001f29
..
f99d752
100644
(file)
--- 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);
// 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)) {
$sr = @ldap_search($lc, $this->params['base_dn'], $filter, $fields);
if (defined('AUTH_DEBUG') && isTrue(AUTH_DEBUG)) {