Skip to content

groupSearchFilter can be a function

Choose a tag to compare

@vesse vesse released this 10 Aug 06:02
· 166 commits to master since this release

groupSearchFilter can be a function that receives the LDAP user object and returns the actual search filter.

var  opts = {
  ...
  groupSearchFilter : function(user) {
    return "(member={{uid}})".replace(user.dn);
  };
};