I’m trying to replace an ISA server by a BIG-IP solution
At present the ISA server is doing an authenticatin on all listener (Virtual Server).
Authentication is based on NTLM
1) Client send a GET request to the serveur 2) ISA respond with a 401. Unauthorize and start NTLM challenge (Header Authenticate-WWW: NTLM & Negotiate) 3) Client respond to the NTLM Challenge 4) ISA validate the challenge and let the client passing trought if credentials are valid 5) Client is in contact with the server web page
I already tried to setup APM with NTLM Check Auth but it always fails
I also tried to setup in APM 401 Challenge but in this case negotiation happen with Kerberos and not NTLM as the ISA is doing… This also conclude to failure
My question is finally quite simple.. Does someone already setup such topology
IIS7 with Windows Integrated Authentication. External Client are redirected to BIGIP which validate credentials (without Portal Access) and if ok send the client to the windows app?
You’re correct we don’t need SSO to the backend (at least for the moment)
Unfortunatly the NTLM Auth Result always failed with hereafter logs
When looking at the headers I can see that BIGIP is trying to negotiate so doing Kerberos inspite of NTLM…
Can you maybe please tell me how I can check if thre is an existing SPN entry ?
Thanks
Regards
14:17:23 bes0175 notice apd[5914]: 01490005:5: c56e0378: Following rule 'fallback' from item 'NTLM Auth Result' to ending 'Allow'
Feb 26 14:17:23 bes0175 debug apd[5914]: 01490000:7: modules/EndingAgents/Allow/AllowAgent.cpp func: "executeInstance()" line: 1863 Msg: Webtop ObjectName:
Feb 26 14:17:23 bes0175 debug apd[5914]: 01490000:7: ./AccessPolicyProcessor/Session.h func: "getSessionVar()" line: 310 Msg: variable "session.user.uuid" was not found in the local cache for session "c56e0378"
Feb 26 14:17:23 bes0175 debug apd[5914]: 01490000:7: ./AccessPolicyProcessor/Session.h func: "getSessionVar()" line: 317 Msg: try to get it from MEMCACHED
Feb 26 14:17:23 bes0175 debug apd[5914]: 01490000:7: ./AccessPolicyProcessor/Session.h func: "getSessionVar()" line: 351 Msg: variable "session.user.uuid" for session "c56e0378" was not found in MEMCACHED
Feb 26 14:17:23 bes0175 debug apd[5914]: 01490000:7: ./AccessPolicyProcessor/Session.h func: "getSessionVar()" line: 310 Msg: variable "session.access.profile" was not found in the local cache for session "c56e0378"
Feb 26 14:17:23 bes0175 debug apd[5914]: 01490000:7: ./AccessPolicyProcessor/Session.h func: "getSessionVar()" line: 317 Msg: try to get it from MEMCACHED
Feb 26 14:17:23 bes0175 debug apd[5914]: 01490000:7: ./AccessPolicyProcessor/Session.h func: "getSessionVar()" line: 349 Msg: variable found, lets add it to the local cache "session.access.profile"="/Common/vs_test_2"(length=17)
Feb 26 14:17:23 bes0175 debug apd[5914]: 01490000:7: ./AccessPolicyProcessor/Session.h func: "getSessionVar()" line: 310 Msg: variable "session.logon.last.logonname" was not found in the local cache for session "c56e0378"
Feb 26 14:17:23 bes0175 debug apd[5914]: 01490000:7: ./AccessPolicyProcessor/Session.h func: "getSessionVar()" line: 317 Msg: try to get it from MEMCACHED
Feb 26 14:17:23 bes0175 debug apd[5914]: 01490000:7: ./AccessPolicyProcessor/Session.h func: "getSessionVar()" line: 351 Msg: variable "session.logon.last.logonname" for session "c56e0378" was not found in MEMCACHED
Feb 26 14:17:23 bes0175 notice apd[5914]: 01490102:5: c56e0378: Access policy result: LTM+APM_Mode
I configured Kerberos Auth and it ends with Success
Feb 26 16:23:57 bes0175 info apd[5914]: 01490007:6: 4d9761ec: Session variable 'session.logon.last.authtype' set to 'Negotiate'
Feb 26 16:23:57 bes0175 info apd[5914]: 01490007:6: 4d9761ec: Session variable 'session.logon.last.result' set to '1'
Feb 26 16:23:57 bes0175 info apd[5914]: 01490007:6: 4d9761ec: Session variable 'session.logon.page.errorcode' set to '0'
Feb 26 16:23:57 bes0175 info apd[5914]: 01490007:6: 4d9761ec: Session variable 'session.policy.result' set to 'allow'
Almost good but unfortunatly browser is always poping up and Ask user & password…
Seems that the browser doesn’t send the credentials
One important thing to keep in mind here. Internet initiated == No Kerberos negotiated. This will work but only if you have access to the Kerberos Distribution Center. Chances are you aren’t opening up TCP 88 to the internet..
So with things like TMG/ISA server you could send NTLM credentials and it would “hop” the authentication on the back-end using Kerberos delegation. This is made possible by authentication proxies in the case of Exchange (rpcproxy.dll).
To validate if it comes from the backend, check the server logging. It should give an unauthenticated user.
For KDC configuration, look at the manual. hint: 1. the F5 account needs delegation rights for the SPN of the backend server. (see manual how to do that) 2. so for your environment, you first have to setup SPN for your sharepoint. 3. within your kerberos SSO configuration, use the SPN patternfield and fill in the SPN; something like HTTP/service.contoso.com@CONTOSO.LOCAL
If you do not use the SPN pattern then the F5 will use reverse DNS lookup of the poolmember IP address to find the SPN (which probably has incorrect PTR settings).
One important thing to keep in mind here. Internet initiated == No Kerberos negotiated. This will work but only if you have access to the Kerberos Distribution Center. Chances are you aren’t opening up TCP 88 to the internet..
So with things like TMG/ISA server, I presume this is only for external client so you could send NTLM credentials and it would “hop” the authentication on the back-end using Kerberos delegation. This is made possible by authentication proxies in the case of Exchange (rpcproxy.dll).
For now all requestes are coming from Internet side and I do see Kerberos Negotiate…
So with things like TMG/ISA server you could send NTLM credentials and it would “hop” the authentication on the back-end using Kerberos delegation. This is made possible by authentication proxies in the case of Exchange (rpcproxy.dll).
This is almost when we are trying to achieve… If possible NTLM would be sufficient but seems that our browser doesn’t start a NTLM nego but well a Kerberos nego…
When looking at headers when using ISA we can only see NTLM headers never Kerberos nego
Yes ISA won’t show kerberos headers because the browser can only send when it has an open channel to a domain controller.
Have you thought about doing client-side checks using APM module, then you can check if authenticated (as far as I know it prompts you once to install a plug-in / activex control)..
only way I know is for the F5 to do the check for NTLM by means of plug-ins. I would give it a try, it works on most browsers and is probably the quickest way to get you going.
It sounds strange to me that BIGIP cannot handle that kind of authentication natively…
It’s true that the link can solve the issue but we need to setup a separated infrastructure for authenticating the user… That means redundancy and reliability
Plugin could be an option but once again it look so strange that such powerfull product cannot do the same than old ISA 2006 !
Don’t you think that other better option could be available?
I think it is probably less a BIGIP limitation than it is the design of the auth protocols in question. Kerberos clients need access to the KDC ticketing server (AD domain controller) before it can do anything and NTLM cannot “double-hop” to authenticate to another service because the password is never known.
So a combination of the two is what you are most likely after. NTLM authentication proxying to kerberos delegated service access. Of course the back-end service needs to support the kerberos delegation. If in ISA you had NTLM enabled and published it in a web publishing rule, if it was purely NTLM the ISA server was just a man in the middle and would, to my knowledge, challenge the user.
Not knowing exactly what service you are trying to get to work using the BIGIP, could you provide an example of something that was working in ISA and that is not working on the BIGIP?
We have multiple backend that we need to publish for now I’m trying to publish a Sharepoint portal (Windows with integrated AUth) and a centreon Backend (with a form based login on backend)
What I’ve to achieve is even for Linux backend doing a first transparent auth on the BIGIP. If client machine is in the domain it needs to be transparent (whatever kerberos or NTLM)… If machine is not in the domain we need to fallback to basic auth…
At this point I always get a popup and once completed get access to the website… If I were able to fix this kind of SSO issue it would be very nice