From c480621d4826d773dabcd2c6a62f07c64f69d317 Mon Sep 17 00:00:00 2001 From: Erik Sundell Date: Sat, 14 Sep 2024 17:11:05 +0200 Subject: [PATCH] Fix incorrect log message (debug level) --- ldapauthenticator/ldapauthenticator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ldapauthenticator/ldapauthenticator.py b/ldapauthenticator/ldapauthenticator.py index c188e05..20f33f3 100644 --- a/ldapauthenticator/ldapauthenticator.py +++ b/ldapauthenticator/ldapauthenticator.py @@ -264,7 +264,7 @@ def resolve_username(self, username_supplied_by_user): "Looking up user with:\n", f" search_base = '{self.user_search_base}'\n", f" search_filter = '{search_filter}'\n", - f" attributes = '{self.user_attribute}'", + f" attributes = '[{self.lookup_dn_user_dn_attribute}]'", ) conn.search( search_base=self.user_search_base,