diff --git a/CHANGELOG.md b/CHANGELOG.md index 7ce625d..2a14a33 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,7 @@ and this project adheres to - log: Clear handlers in `setup_logger()` by default to avoid duplicate log lines, with optional clear=False to keep existing handlers (#88). +- auth: LDAP debug log search base error. ## [1.8.0] - 2026-05-22 diff --git a/src/authentication/rfl/authentication/ldap.py b/src/authentication/rfl/authentication/ldap.py index 793b548..e16963e 100644 --- a/src/authentication/rfl/authentication/ldap.py +++ b/src/authentication/rfl/authentication/ldap.py @@ -314,7 +314,7 @@ def _lookup_user_dn(self, user): connection.unbind_s() logger.debug( "LDAP search base: %s, scope: subtree, filter: %s, results: %s", - self.group_base, + self.user_base, search_filter, str(results), ) @@ -412,7 +412,7 @@ def _list_user_dn(self, connection): ) from err logger.debug( "LDAP search base: %s, scope: subtree, filter: %s, results: %s", - self.group_base, + self.user_base, search_filter, str(results), )