verdaccio-ldap icon indicating copy to clipboard operation
verdaccio-ldap copied to clipboard

Couldn't retrieve nested groups

Open sca- opened this issue 7 years ago • 2 comments

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- avatar Nov 23 '18 17:11 sca-

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

sca- avatar Dec 13 '18 11:12 sca-

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.

kopax avatar Sep 27 '19 13:09 kopax