Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix incorrect log message (debug level) #252

Merged
merged 1 commit into from
Sep 14, 2024

Conversation

consideRatio
Copy link
Member

@consideRatio consideRatio commented Sep 14, 2024

No description provided.

@consideRatio consideRatio merged commit 2c3035d into jupyterhub:main Sep 14, 2024
5 of 7 checks passed
@@ -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}'",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was incorrect because later this is done:

        conn.search(
            search_base=self.user_search_base,
            search_scope=ldap3.SUBTREE,
            search_filter=search_filter,
            attributes=[self.lookup_dn_user_dn_attribute],
        )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant