node-activedirectory
node-activedirectory copied to clipboard
Not Returning objectSid for groups?
pulling for groups and I can't seem to get the following attributes:
- objectGUID
- objectSid
here is the snippet
var ad = new ActiveDirectory(domainConfig);
var query = 'CN=*';
ad.findGroups(query, function (err, result) {
if (err) {
console.log(err);
log.error("No Groups found.");
}
log.info(result);
});
am I missing something? by default the all attributes are returning, correct?
attributes - attributes to select and return (if these are set, the server will return only these attributes). Defaults to the empty set, which means all attributes.
+1 for this question