Lines Matching refs:con

23     protected $con = null;  variable in auth_plugin_authldaplocal
93 …if(!@ldap_bind($this->con, $this->getConf('binddn'), conf_decodeString($this->getConf('bindpw'))))…
94 …$this->_debug('LDAP bind as superuser: '.htmlspecialchars(ldap_error($this->con)), 0, __LINE__, __…
117 if(!@ldap_bind($this->con)) {
119 …$this->_debug('LDAP anonymous bind: '.htmlspecialchars(ldap_error($this->con)), 0, __LINE__, __FIL…
127 if(!@ldap_bind($this->con, $dn, $pass)) {
129 …$this->_debug('LDAP user dn bind: '.htmlspecialchars(ldap_error($this->con)), 0, __LINE__, __FILE_…
144 if(!@ldap_bind($this->con, $dn, $pass)) {
146 … $this->_debug('LDAP user bind: '.htmlspecialchars(ldap_error($this->con)), 0, __LINE__, __FILE__);
185 …if(!@ldap_bind($this->con, $this->getConf('binddn'), conf_decodeString($this->getConf('bindpw'))))…
186 …$this->_debug('LDAP bind as superuser: '.htmlspecialchars(ldap_error($this->con)), 0, __LINE__, __…
213 $sr = $this->_ldapsearch($this->con, $base, $filter, $this->getConf('userscope'));
214 $result = @ldap_get_entries($this->con, $sr);
215 …$this->_debug('LDAP user search: '.htmlspecialchars(ldap_error($this->con)), 0, __LINE__, __FILE__…
263 …$sr = $this->_ldapsearch($this->con, $base, $filter, $this->getConf('groupscope'), array($this…
264 …$this->_debug('LDAP group search: '.htmlspecialchars(ldap_error($this->con)), 0, __LINE__, __FILE_…
269 …$this->_debug('LDAP group search: '.htmlspecialchars(ldap_error($this->con)), 0,__LINE__,__FILE__);
272 $result = ldap_get_entries($this->con, $sr);
713 if($this->con) return true; // connection already established
726 $this->con = @ldap_connect($server, $port);
727 if(!$this->con) {
742 $this->con, LDAP_OPT_PROTOCOL_VERSION,
747 …$this->_debug('LDAP version set: '.htmlspecialchars(ldap_error($this->con)), 0, __LINE__, __FILE__…
751 if(!@ldap_start_tls($this->con)) {
753 … $this->_debug('LDAP TLS set: '.htmlspecialchars(ldap_error($this->con)), 0, __LINE__, __FILE__);
759 $this->con, LDAP_OPT_REFERRALS,
764 …$this->_debug('LDAP referal set: '.htmlspecialchars(ldap_error($this->con)), 0, __LINE__, __FILE__…
772 if(!@ldap_set_option($this->con, LDAP_OPT_DEREF, $this->getConf('deref'))) {
774 … $this->_debug('LDAP deref set: '.htmlspecialchars(ldap_error($this->con)), 0, __LINE__, __FILE__);
779 ldap_set_option($this->con, LDAP_OPT_NETWORK_TIMEOUT, 1);
783 …$bound = @ldap_bind($this->con, $this->getConf('binddn'), conf_decodeString($this->getConf('bindpw…
786 $bound = @ldap_bind($this->con);
795 $this->_debug(ldap_error($this->con), 0, __LINE__, __FILE__);