Lines Matching defs:debug
38 $this->debug("LDAP err: PHP LDAP extension not found.", -1, __LINE__, __FILE__);
69 $this->debug('LDAP bind as superuser: ' . hsc(ldap_error($this->con)), 0, __LINE__, __FILE__);
92 $this->debug('LDAP anonymous bind: ' . hsc(ldap_error($this->con)), 0, __LINE__, __FILE__);
100 $this->debug("LDAP: bind with $dn failed", -1, __LINE__, __FILE__);
101 $this->debug('LDAP user dn bind: ' . hsc(ldap_error($this->con)), 0, __LINE__, __FILE__);
117 $this->debug("LDAP: bind with $dn failed", -1, __LINE__, __FILE__);
118 $this->debug('LDAP user bind: ' . hsc(ldap_error($this->con)), 0, __LINE__, __FILE__);
173 $this->debug('LDAP bind as superuser: ' . hsc(ldap_error($this->con)), 0, __LINE__, __FILE__);
190 $this->debug('LDAP user to find: ' . hsc($info['user']), 0, __LINE__, __FILE__);
193 $this->debug('LDAP Server: ' . hsc($info['server']), 0, __LINE__, __FILE__);
203 $this->debug('LDAP Filter: ' . hsc($filter), 0, __LINE__, __FILE__);
205 $this->debug('LDAP search at: ' . hsc($base . ' ' . $filter), 0, __LINE__, __FILE__);
207 $this->debug('LDAP user search: ' . hsc(ldap_error($this->con)), 0, __LINE__, __FILE__);
209 $this->debug('User ldap_search failed. Check configuration.', 0, __LINE__, __FILE__);
218 $this->debug('LDAP search returned non-array result: ' . hsc(print($result)), -1, __LINE__, __FILE__);
224 $this->debug(
236 $this->debug('LDAP search found single result !', 0, __LINE__, __FILE__);
283 $this->debug('LDAP group search: ' . hsc(ldap_error($this->con)), 0, __LINE__, __FILE__);
284 $this->debug('LDAP search at: ' . hsc($base . ' ' . $filter), 0, __LINE__, __FILE__);
299 $this->debug('groupkey did not return a detailled result', 0, __LINE__, __FILE__);
303 $this->debug('LDAP usergroup: ' . hsc($group), 0, __LINE__, __FILE__);
328 $this->debug('LDAP cannot connect: ' . hsc(ldap_error($this->con)), 0, __LINE__, __FILE__);
335 $this->debug('LDAP cannot find your user dn', 0, __LINE__, __FILE__);
348 $this->debug(
360 $this->debug('LDAP bind as superuser: ' . hsc(ldap_error($this->con)), 0, __LINE__, __FILE__);
373 $this->debug(
543 if ($this->getConf('debug')) {
581 $this->debug('LDAP version set: ' . hsc(ldap_error($this->con)), 0, __LINE__, __FILE__);
587 $this->debug('LDAP TLS set: ' . hsc(ldap_error($this->con)), 0, __LINE__, __FILE__);
600 $this->debug('LDAP referal set: ' . hsc(ldap_error($this->con)), 0, __LINE__, __FILE__);
610 $this->debug('LDAP deref set: ' . hsc(ldap_error($this->con)), 0, __LINE__, __FILE__);
631 $this->debug(ldap_error($this->con), 0, __LINE__, __FILE__);
694 * Wrapper around msg() but outputs only when debug is enabled
702 protected function debug($message, $err, $line, $file)
704 if (!$this->getConf('debug')) return;