Project

General

Profile

« Previous | Next » 

Revision 1040ff65

Added by Daniel Lobato Garcia over 7 years ago

Fixes #17998 - Only print LDAP bind status if available

The ldap logger tries to call payload[:bind].status but it might not be
defined if the bind goes wrong in some LDAP sources.

This causes a 500 instead of logging the status of the bind. We should
only display payload[:bind].status if it's available.

(cherry picked from commit 7447d046a09751a96bff0f1e857e85a7aa176396)

  • added
  • modified
  • copied
  • renamed
  • deleted