You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bindErr:=ldapServer.Bind(config.LDAP.Bind.DN, config.LDAP.Bind.Password)
ifbindErr!=nil {
log.Error("Could not bind to LDAP! %s", err.Error())
The Bind call is saved to bindErr, but the error message attempts to print err, which at that point will be nil. This leads to a nil pointer dereference error instead of the actual desired error message 😄
The text was updated successfully, but these errors were encountered:
The
Bind
call is saved tobindErr
, but the error message attempts to printerr
, which at that point will benil
. This leads to a nil pointer dereference error instead of the actual desired error message 😄The text was updated successfully, but these errors were encountered: