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:
- A handle to the current
Radius::Ldap
object
AuthDN
that failed LDAP bind
AuthPassword
that was used with the failed
LDAP bind
- Error string from LDAP library
- String with LDAP server and port the connection was made to
- 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.