diff options
Diffstat (limited to 'read.go')
-rw-r--r-- | read.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -73,6 +73,9 @@ func (server *Server) handleSearch(s ldap.UserState, w ldap.ResponseWriter, m *l if err != nil { res.SetDiagnosticMessage(err.Error()) } + if code != ldap.LDAPResultSuccess { + server.logger.Printf("Failed to do search %#v (%s)", r, err) + } w.Write(message.SearchResultDone(res)) } |