From d476d3a3a42b2cda5c88d935eced1e443e21bd48 Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Fri, 15 Apr 2011 12:19:22 -0400 Subject: [PATCH] Fixed LDAP patch --- program/include/rcube_ldap.php | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/program/include/rcube_ldap.php b/program/include/rcube_ldap.php index 91e0139..742cb64 100644 --- a/program/include/rcube_ldap.php +++ b/program/include/rcube_ldap.php @@ -167,7 +167,7 @@ $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 @@ } // 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; -- Gitblit v1.9.1