HTTP - basic NTLM auth
I need to setup HTTP auth/NTLM authentication. Much appreciation in advance.
The app is posting this and is receiving an unexpected response:
[2019-06-13T14:22:40.607513 #78983] INFO -- request: GET https://big-ip-url/api/1/tokens/retrieve
User-Agent: "Faraday v0.15.4"
Authorization: "NTLM TlRMTVNTUAABAAAAB4IIAAAAAAAgAAAAAAAAACAAAABFZGVuLmxvY2Fs”
[2019-06-13T14:22:40.762985 #78983] INFO -- response: Status 302
[2019-06-13T14:22:40.763055 #78983] DEBUG -- response: server: "BigIP"
connection: "Close"
content-length: "0"
location: "/my.policy"
set-cookie: "LastMRH_Session=a22ed998;path=/;secure, MRHSession=coooooookie;path=/;secure, MRHSHint=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/"
Traditionally, IIS would return an unauthorized along with the www-authenticate header which is then used to issue another request with the username and password. Since that is not what is being returned, it is throwing an error. I’m assuming the F5 should take what is being returned by IIS and just tag that on to what it is sending back?
This is the example of what the app expects to be returned by your IIS
server: "Microsoft-HTTPAPI/2.0"
www-authenticate: "NTLM TlRMTVNTUAACAAAADgAOADgAAAAFgokCor0fjbFZe2oAAAAAAAAAAJIAkgBGAAAACgA5OAAAAA9UAFIAQQBJAE4ARABDAAIADgBUAFIAQQBJAE4ARABDAAEADgBTAEUAUgBWAFIAXwAxAAQAFgB0AHIAYQBpAG4ARABDAC4AbgBlAHQAAwAmAHMAZQByAHYAcgBfADEALgB0AHIAYQBpAG4ARABDAC4AbgBlAHQABQAWAHQAcgBhAGkAbgBEAEMALgBuAGUAdAAHAAgAx4/FcEMh1QEAAAAA"
date: "Wed, 12 Jun 2019 17:22:41 GMT"
content-length: "341"