-
Notifications
You must be signed in to change notification settings - Fork 177
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
LDAP query syntax to search more than one specific OU #111
Comments
I just found this example (https://github.com/jupyterhub/ldapauthenticator):
But it produces:
I've also tried this:
The unicode string error disappears but LDAP authentication fails (I've changed my binding string to your example case):
I am using Jupyterhub version 0.7.2. Any ideas/suggestions (I would prefer not to upgrade Jupyterhub, - it was a pain to set it up...)? Thank you! |
And "jupyterhub-ldapauthenticator" version is 1.1. Do you think updating "jupyterhub-ldapauthenticator" would help? Thanks! |
I do! It's always a good idea to be sure you are up-to-date with both jupyterhub and the authenticator. It's also best to open issues with ldapauthenticator on the ldapauthenticator repo. I've migrated this one. |
Thanks, Min. Sorry about the wrong repo... |
I fixed the problem by:
So, the correct LDAP entry looks like this (in my case):
|
Can I use both local PAM accounts and LDAP accounts? How do I combine the two in a config file? Thank you in advance. |
Dear Jupyterhub developers,
Is there a way to LDAP query more than one specific OU from inside the Jupyterhub config file?
Since some user accounts are under Users (~5000 people) and some are under Users-dir (~900 people) we need to find a way to fetch user information for both OUs. Is there a way to do it?
It works for either "OU=Users" or "OU=Users-dir" separately but I am not sure about both at the same time?
or
Thank you so much in advance!
The text was updated successfully, but these errors were encountered: