From c92d3125a30d667425d281deb708c15bddabf513 Mon Sep 17 00:00:00 2001 From: William Luke Date: Fri, 5 Jul 2024 17:28:31 -0500 Subject: [PATCH] Fix the base DN searches --- internal/ldap/search.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))