If i use member=%s filter, output:
msg=“Searching for user’s groups” logger=ldap filter="(&(objectClass=groupOfNames)(member=user@company.com))"
In my directory server, the groupOfNames object has member attribute, but it consists of the whole search DN : uid=user@company.com,ou=groups,dc=company,dc=com, for example. So i need a wildcard or something to accept the uid= before the username, and the rest of DN after the username, * %s* doesn’t work.