Fix the base DN searches

This commit is contained in:
signaryk 2024-07-05 17:16:02 -05:00
parent 1802a16d8a
commit 079d832dd1

View file

@ -38,6 +38,9 @@ func (s *server) handleBaseDnSearch(w ldap.ResponseWriter, m *ldap.Message) {
e.AddAttribute("supportedLDAPVersion", "3")
e.AddAttribute("namingContexts", message.AttributeValue(nc))
w.Write(e)
res := ldap.NewSearchResultDoneResponse(ldap.LDAPResultSuccess)
w.Write(res)
}
func (s *server) handleSearchEntities(w ldap.ResponseWriter, m *ldap.Message) {