Closed MakarovDi closed 2 months ago
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! :wave:
Welcome to the Jupyter community! :tada:
Can confirm, following the above advice fixed our issues with being told the users were not in any of the allowed groups no matter what groups we put in there. So the config as presented on the readme seems to enable auth to work, but not group lookups. The config suggested above enables both.
Removing c.LDAPAuthenticator.bind_dn_template = '{username}'
also fixed AD authentication for me.
It worked for me as well. Also use_lookup_dn_username = false
was important to make Unix usernames consistent with login (instead of LDAP's CN) as pointed out on documentation.
@MakarovDi amazing writeup, and I'm super thankful for that you have also linked possibly related issues - THANK YOU!!
The recommended configuration for Active Directory integration:
This config will result in
The problem is the last row of the config:
Because of this row the
resolved dn
will never be used (link to the code):So the working configuration is:
Related issues
Issues #101, #144, #125 are probably related.