summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-04-15 16:19:22 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-04-15 16:19:22 +0000
commitb87e7c5e1cbb96424c712b715fee8b9e222fbd04 (patch)
tree31e95b3b70eebe6a913a29b99ee8953e4cff1d24
parent3b364aa2f498b6ccfa5a93000e2d52be4cc54f50 (diff)
Fixed LDAP patch
git-svn-id: https://svn.roundcube.net/trunk@4662 208e9e7b-5314-0410-a742-e7e81cd9613c
-rw-r--r--roundcubemail/program/include/rcube_ldap.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/roundcubemail/program/include/rcube_ldap.php b/roundcubemail/program/include/rcube_ldap.php
index 91e013915..742cb6412 100644
--- a/roundcubemail/program/include/rcube_ldap.php
+++ b/roundcubemail/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;