gheeres / node-activedirectory

ActiveDirectory is an Node.js ldapjs client for authN (authentication) and authZ (authorization) for Microsoft Active Directory with range retrieval support for large Active Directory installations.
MIT License
534 stars 146 forks source link

Getting groups is not working for me #233

Closed FedeFressiel closed 3 years ago

FedeFressiel commented 3 years ago

My goal is to get all the groups, but I'm having some issues. When I get the groups for a specific user everything works fine. When I use the example to find groups I get the following: var query ='CN=a' ad.findGroups(query...

[{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{}]

It's a list of empty objects. Does anyone have this issue? It's probably just me. Thanks for the help.