From c64a272df3845a710edc6fdb9e69a88cf9596717 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Tue, 2 Apr 2019 12:39:22 +0200 Subject: [PATCH] Pass attributes list to get_entry() This is now needed, otherwise all attributes will be requested. --- plugins/kolab_auth/kolab_auth_ldap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/kolab_auth/kolab_auth_ldap.php b/plugins/kolab_auth/kolab_auth_ldap.php index 30c82bf4..01aaf582 100644 --- a/plugins/kolab_auth/kolab_auth_ldap.php +++ b/plugins/kolab_auth/kolab_auth_ldap.php @@ -176,7 +176,7 @@ class kolab_auth_ldap extends rcube_ldap_generic return; } - if ($rec = $this->get_entry($dn)) { + if ($rec = $this->get_entry($dn, $this->attributes)) { $rec = rcube_ldap_generic::normalize_entry($rec); $rec = $this->field_mapping($dn, $rec); }