From cf6a80431334b936f2497e2534a307798606a7fc Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Fri, 31 Mar 2006 10:12:01 +0200 Subject: ldap auth fix #762 darcs-hash:20060331081201-7ad00-ad95897fb68ce105c586c80ce7b1ff0ccb4840a6.gz --- inc/auth/ldap.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc/auth') 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'])); -- cgit v1.2.3