We're using a baseDN, not querying a DN

This commit is contained in:
Andrew Ruthven 2024-02-03 14:38:03 +13:00
parent 775ecb8f3b
commit 1db3663302

View File

@ -158,11 +158,11 @@ class ldapDriver
$entry = $query($this->connect, $baseDNUsers, $this->filterUsers, $attributes);
if (! $entry) {
$c->messages[] = sprintf(translate('Error NoUserFound with filter >%s<, attributes >%s< , dn >%s<'),
$c->messages[] = sprintf(translate('Error NoUserFound with filter >%s<, attributes >%s< , baseDN >%s<'),
$this->filterUsers,
join(', ', $attributes),
$baseDNUsers);
dbg_error_log('LDAP', 'Error NoUserFound with filter >%s<, attributes >%s< , dn >%s<',
dbg_error_log('LDAP', 'Error NoUserFound with filter >%s<, attributes >%s< , baseDN >%s<',
$this->filterUsers,
join(', ', $attributes),
$baseDNUsers);