The panic recover in
|
if r := recover(); r != nil { |
does not get logged.
For example when for whatever reason a user record has no userPassword field, the nesting code in server/handler/ldif/entry.go goes like
ldappassword.Validate(bindSimplePw, entry.UserPassword.Values[0])
and that panics.
Panics should be logged so it is clear why Bind commands return an Operational Error and this particular case should not panic in the first place.