node-activedirectory icon indicating copy to clipboard operation
node-activedirectory copied to clipboard

Not Returning objectSid for groups?

Open alberto360 opened this issue 8 years ago • 1 comments

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.

alberto360 avatar Jul 28 '17 22:07 alberto360

+1 for this question

vishysank avatar Aug 06 '17 05:08 vishysank