Fix the base DN searches

This commit is contained in:
signaryk 2024-07-05 17:22:59 -05:00
parent 02cb7a2a73
commit 757cbb740c

View file

@ -29,6 +29,7 @@ func (s *server) handleSearchDSE(w ldap.ResponseWriter, m *ldap.Message) {
}
func (s *server) handleBaseDnSearch(w ldap.ResponseWriter, m *ldap.Message) {
s.l.Debug("Base DN search")
e := ldap.NewSearchResultEntry(strings.Join(s.nc, ","))
w.Write(e)