ECA::status

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

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]"
}