outposts/ldap: add support for member query

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-07-23 20:00:23 +02:00
parent 8ae7403abc
commit 5ff3e9b418
3 changed files with 13 additions and 4 deletions

View File

@ -105,7 +105,6 @@ func (pi *ProviderInstance) Search(req SearchRequest) (ldap.ServerSearchResult,
entries = append(entries, pi.UserEntry(u))
}
}
req.log.WithField("filter", req.Filter).WithField("results", len(entries)).Debug("Search OK")
return ldap.ServerSearchResult{Entries: entries, Referrals: []string{}, Controls: []ldap.Control{}, ResultCode: ldap.LDAPResultSuccess}, nil
}