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

Couldn't retrieve nested groups #51

Open
sca- opened this issue Nov 23, 2018 · 2 comments
Open

Couldn't retrieve nested groups #51

sca- opened this issue Nov 23, 2018 · 2 comments

Comments

@sca-
Copy link

sca- commented Nov 23, 2018

We're using AD authentication with lots of nested groups.
I couldn't find a way to receive all of user's groups with subgroups — node-ldapauth-fork just returns top-level user groups (like cn + 1 group). It seems that our admins are using memberOf (at least this field does exist in object returned by ldapauth-fork while _groups field does not).
Please help 🙂

@sca-
Copy link
Author

sca- commented Dec 13, 2018

if anyone happens to have the same issue, here's my fork of this package using forked ldapauth package for geting all the groups from LDAP recursively

@kopax
Copy link
Contributor

kopax commented Sep 27, 2019

Hi @sca- and thanks for the fork, would be nice to have it in the main repository, don't you think @Alexandre-io ?

Also, I have tried and wait about about 2 years from now to get LDAP working with verdaccio. At that time, the ldap was spamming the authentication between each download and resulted in failing CI.

We switch to .htaccess but I would gladly take some feedback to see how it work for you.

Thanks a lot for your time.

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

No branches or pull requests

3 participants