diff --git a/internal/ldap/search.go b/internal/ldap/search.go index 457d6ed..d71ec10 100644 --- a/internal/ldap/search.go +++ b/internal/ldap/search.go @@ -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) {