shaozi / ldap-authentication

🔐🔐🔐 A simple Nodejs Async LDAP authentication library
BSD 2-Clause "Simplified" License
109 stars 28 forks source link

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

Open Maris1984 opened 1 year ago

Maris1984 commented 1 year ago

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?

ansibleguy76 commented 1 year ago

yes, parse the memberOf should do the trick