ltm rule command ECA statusΒΆ

iRule(1)					  BIG-IP TMSH Manual					     iRule(1)

ECA::status
       Returns NTLM authentication result.

SYNOPSIS
DESCRIPTION
       The ECA::status command returns NTLM authentication result such as NTLM_STATUS_OK, NTLM_STATUS_WRONG_PASSWORD,
       NTLM_STATUS_NO_SUCH_USER.

       Syntax

       ECA::status

RETURN VALUE
       Returns NTLM authentication result.

VALID DURING
EXAMPLES
	when HTTP_REQUEST {
	    if { [HTTP::path] starts_with "/protected_uri" } {
		ECA::enable
		ECA::select select_ntlm:/Common/exch_ntlm_auth_config
	    } else {
		ECA::disable
	    }
	    log local0. "User [ECA::username]@[ECA::domainname], Client Machine [ECA::client_machine_name], Auth Status [ECA::status]"
	}

HINTS
SEE ALSO
CHANGE LOG
       @BIGIP-11.3.0 --First introduced the command.

BIG-IP						      2020-06-23					     iRule(1)