cjfsoares
Oct 10, 2023Nimbostratus
NTLM Authentication
Hi,
I have an iRule to send auth traffic to an IIS server. NTLM. If the traffic is sent without encription no problem, otherwise I get a RST after the first 401. Can any one help me?
Here's the iRule I use (no encription between F5 and IIS)
when HTTP_REQUEST {
NTLM::disable
SSL::disable serverside
set enc "0"
ONECONNECT::detach disable
ONECONNECT::reuse disable
NTLM::enable
snatpool SN_Pool_VLAN10
if { [HTTP::path] ends_with "/123"} {
HTTP::respond 301 Location "https://[HTTP::host]/123/"
}
pool /DR/Pool_with_no_encription
return
}
when SERVER_CONNECTED {
SSL::profile PCSSL_serverside_encription
if {$enc equals "1"} {
SSL::enable serverside
} else {SSL::disable serverside
}
}
SSL::profile PCSSL_serverside_encription
if {$enc equals "1"} {
SSL::enable serverside
} else {SSL::disable serverside
}
}