From 1db36633024af9607ca85760f07c335ebf2bc926 Mon Sep 17 00:00:00 2001 From: Andrew Ruthven Date: Sat, 3 Feb 2024 14:38:03 +1300 Subject: [PATCH] We're using a baseDN, not querying a DN --- inc/drivers_ldap.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/drivers_ldap.php b/inc/drivers_ldap.php index 73110d62..7a616880 100644 --- a/inc/drivers_ldap.php +++ b/inc/drivers_ldap.php @@ -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);