diff options
-rw-r--r-- | inc/auth/ldap.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/auth/ldap.class.php b/inc/auth/ldap.class.php index dd328d4d4..523a2a397 100644 --- a/inc/auth/ldap.class.php +++ b/inc/auth/ldap.class.php @@ -67,7 +67,7 @@ class auth_ldap extends auth_basic { $dn = $this->_makeFilter($this->cnf['binddn'], array('user'=>$user,'server'=>$this->cnf['server'])); - }else if(strpos($cnf['usertree'], '%{user}')) { + }else if(strpos($this->cnf['usertree'], '%{user}')) { // direct user bind $dn = $this->_makeFilter($this->cnf['usertree'], array('user'=>$user,'server'=>$this->cnf['server'])); |