thomascube
2011-04-15 d476d3a3a42b2cda5c88d935eced1e443e21bd48
Fixed LDAP patch

1 files modified
4 ■■■■ changed files
program/include/rcube_ldap.php 4 ●●●● patch | view | raw | blame | history
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;