diff options
author | Andreas Gohr <andi@splitbrain.org> | 2006-03-31 10:12:01 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2006-03-31 10:12:01 +0200 |
commit | cf6a80431334b936f2497e2534a307798606a7fc (patch) | |
tree | d3c74e5b3a640e58d87242f81b5634deea81486b | |
parent | 1512f40d8c6f20997943125cf82341820dde6caa (diff) | |
download | rpg-cf6a80431334b936f2497e2534a307798606a7fc.tar.gz rpg-cf6a80431334b936f2497e2534a307798606a7fc.tar.bz2 |
ldap auth fix #762
darcs-hash:20060331081201-7ad00-ad95897fb68ce105c586c80ce7b1ff0ccb4840a6.gz
-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'])); |