3.9.15. BindFailedHook Previous topic Parent topic Child topic Next topic

This optional parameter allows you to define a Perl function that is run after an LDAP bind with AuthDN fails.
BindFailedHook is called with the following arguments:
  1. A handle to the current Radius::Ldap object
  2. AuthDN that failed LDAP bind
  3. AuthPassword that was used with the failed LDAP bind
  4. Error string from LDAP library
  5. String with LDAP server and port the connection was made to
  6. Possible SASL error string
The default is to log the error with the password set to **obscured**. If password debugging is required, redefine the hook or see console output when Debug flag parameter is enabled for the LDAP clause. For more information about Debug, see Section 3.9.11. Debug.