diff --git a/internal/ldap/search.go b/internal/ldap/search.go index 881e3f7..eba308b 100644 --- a/internal/ldap/search.go +++ b/internal/ldap/search.go @@ -17,7 +17,7 @@ func (s *server) handleSearchDSE(w ldap.ResponseWriter, m *ldap.Message) { nc := strings.Join(s.nc, ",") r := m.GetSearchRequest() - e := ldap.NewSearchResultEntry("") + e := ldap.NewSearchResultEntry(nc) if len(r.Attributes()) == 0 { e.AddAttribute("vendorName", "NetAuth") e.AddAttribute("vendorVersion", message.AttributeValue(buildinfo.Version))