3.119.17. AuthenticationStartHook Previous topic Parent topic Child topic Next topic

Specifies a Perl hook to run when a TACACS+ Authentication Start is received. It can be used for special processing of TACACS+ Start requests. If the hook returns an empty list, normal processing of the request will continue else no further processing will be done and the hook is expected to handle the request.
The hook is passed the following arguments:
  • Pointer to the current ServerTACACSPLUS clause
  • Pointer to the temporary RADIUS request that has been constructed to represent the TACACSPLUS authentication request
  • The action attribute from the incoming TACACSPLUS request. This describes the authentication action to be performed. One of $Radius::Tacacsplus::TAC_PLUS_- AUTHEN_*.
  • The authen_type attribute from the incoming TACACSPLUS request. The type of authentication that is being performed. One of $Radius::Tacacsplus::TAC_PLUS_- AUTHEN_TYPE_*.
  • The priv_lvl attribute from the incoming TACACSPLUS request. This indicates the privilege level that the user is authenticating as. One of $Radius::Tacacsplus:: TAC_PLUS_PRIV_LVL_*.
  • The service attribute from the incoming TACACSPLUS request. This is the service requesting the authentication. One of $Radius::Tacacsplus::TAC_PLUS_AUTHEN_SVC_*.