verdaccio-ldap
verdaccio-ldap copied to clipboard
Couldn't retrieve nested groups
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 🙂
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
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.