From d476d3a3a42b2cda5c88d935eced1e443e21bd48 Mon Sep 17 00:00:00 2001 From: thomascube Date: Fri, 15 Apr 2011 16:19:22 +0000 Subject: Fixed LDAP patch --- program/include/rcube_ldap.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'program') diff --git a/program/include/rcube_ldap.php b/program/include/rcube_ldap.php index 91e013915..742cb6412 100644 --- a/program/include/rcube_ldap.php +++ b/program/include/rcube_ldap.php @@ -167,7 +167,7 @@ class rcube_ldap extends rcube_addressbook $bind_pass = $this->prop['bind_pass']; $bind_user = $this->prop['bind_user']; $bind_dn = $this->prop['bind_dn']; - $base_dn = $this->prop['base_dn']; + $this->base_dn = $this->prop['base_dn']; // User specific access, generate the proper values to use. if ($this->prop['user_specific']) { @@ -204,7 +204,7 @@ class rcube_ldap extends rcube_addressbook } // Replace the bind_dn and base_dn variables. $bind_dn = strtr($bind_dn, $replaces); - $this->base_dn = strtr($base_dn, $replaces); + $this->base_dn = strtr($this->base_dn, $replaces); if (empty($bind_user)) { $bind_user = $u; -- cgit v1.2.3