diff options
author | Aniol Marti <aniol@aniolmarti.cat> | 2019-07-08 12:57:56 +0200 |
---|---|---|
committer | Aniol Marti <aniol@aniolmarti.cat> | 2019-07-08 12:57:56 +0200 |
commit | 4be0be3de5c51c5d115bcbf81be0aac917b6925e (patch) | |
tree | 153c993950d9d1dd5a2313fb890157d8559e8d78 /lib/plugins/authldap/auth.php | |
parent | 3b3445726412a35fbfe1e766bc7f3056406fe31a (diff) | |
download | dokuwiki-4be0be3de5c51c5d115bcbf81be0aac917b6925e.tar.gz dokuwiki-4be0be3de5c51c5d115bcbf81be0aac917b6925e.zip |
Add support for custom attributes in LDAP search
Diffstat (limited to 'lib/plugins/authldap/auth.php')
-rw-r--r-- | lib/plugins/authldap/auth.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/plugins/authldap/auth.php b/lib/plugins/authldap/auth.php index 52f9ba50d..059611052 100644 --- a/lib/plugins/authldap/auth.php +++ b/lib/plugins/authldap/auth.php @@ -201,7 +201,7 @@ class auth_plugin_authldap extends DokuWiki_Auth_Plugin { $this->_debug('LDAP user search: '.htmlspecialchars(ldap_error($this->con)), 0, __LINE__, __FILE__); $this->_debug('LDAP search at: '.htmlspecialchars($base.' '.$filter), 0, __LINE__, __FILE__); - $sr = $this->_ldapsearch($this->con, $base, $filter, $this->getConf('userscope')); + $sr = $this->_ldapsearch($this->con, $base, $filter, $this->getConf('userscope'), $this->getConf('attributes')); $result = @ldap_get_entries($this->con, $sr); |