Fix the base DN searches
This commit is contained in:
parent
02cb7a2a73
commit
757cbb740c
|
@ -29,6 +29,7 @@ func (s *server) handleSearchDSE(w ldap.ResponseWriter, m *ldap.Message) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *server) handleBaseDnSearch(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, ","))
|
e := ldap.NewSearchResultEntry(strings.Join(s.nc, ","))
|
||||||
w.Write(e)
|
w.Write(e)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue