summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2011-04-15 16:19:22 +0000
committerthomascube <thomas@roundcube.net>2011-04-15 16:19:22 +0000
commitd476d3a3a42b2cda5c88d935eced1e443e21bd48 (patch)
tree247c0734a9ab7ff1c576c20e82122afb68e57a7f /program
parentef27a6a72375c92850c4ed17fa7476c6fb188d37 (diff)
Fixed LDAP patch
Diffstat (limited to 'program')
-rw-r--r--program/include/rcube_ldap.php4
1 files changed, 2 insertions, 2 deletions
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;