shaozi / ldap-authentication

🔐🔐🔐 A simple Nodejs Async LDAP authentication library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question. How to return true only if user is a member of security group?

Maris1984 opened this issue · comments

I believe I’ve tried all possible variable variations but still I’m unable to achieve this.
Could perhaps someone steer me to the right direction?
Should I perhaps just parse the memberOf attribute value that is returned?

yes, parse the memberOf should do the trick