Skip to content

Commit

Permalink
move ldap debug statement
Browse files Browse the repository at this point in the history
  • Loading branch information
splitbrain committed Apr 16, 2024
1 parent 38a55ff commit 821c061
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/plugins/authldap/auth.php
Expand Up @@ -202,9 +202,9 @@ protected function fetchUserData($user, $inbind = false)

$this->debug('LDAP Filter: ' . hsc($filter), 0, __LINE__, __FILE__);

$this->debug('LDAP user search: ' . hsc(ldap_error($this->con)), 0, __LINE__, __FILE__);
$this->debug('LDAP search at: ' . hsc($base . ' ' . $filter), 0, __LINE__, __FILE__);
$sr = $this->ldapSearch($this->con, $base, $filter, $this->getConf('userscope'), $this->getConf('attributes'));
$this->debug('LDAP user search: ' . hsc(ldap_error($this->con)), 0, __LINE__, __FILE__);
if ($sr === false) {
$this->debug('User ldap_search failed. Check configuration.', 0, __LINE__, __FILE__);
return false;
Expand Down

0 comments on commit 821c061

Please sign in to comment.