Forum Discussion

kj07208_118528's avatar
May 14, 2014

Understanding F5 APM and NTLM Auth

Right now I'm trying to implement a solution that will do the following:

 

Internal User goes to our SSO portal sso.corp.com I don't want this to prompt internal users for credentials (from the sso portal) (using article Leveraging BIG-IP APM for seamless client NTLM Authentication)

 

Question why can't I just use the 401 element in APM instead of doing the whole NTLM account/config? Is it due to the fact that we are trying to silently trying to authenticate the user instead of presenting the challenge prompt?

 

5 Replies

  • First, let's separate client side authentication from server side. These are two separate processes that are not necessarily intertwined. NTLM is a challenge/response protocol. The server sends a 401 message indicating it wants the client to present credentials, and in the NTLM process, the client sends back (more or less) a hash of its password to the server to prove that it knows the password. That's pretty straight forward on the server side (SSO) because APM (the client in this case) has the password and just has to generate this hash. But on the client side, APM is the server. It'll send the 401 to request authentication, and the client will summarily send the hash, but without the NTLM account/config stuff, it has no way to verify the hash.

     

  • The funniest part is I have seen a couple of users post solution (including myself) that has used the 401 block in the VPE.

     

    I'm guessing the 401 agent would pass the request straight through, given that the client is already sending an Authorization header.

     

  • Hi KJ!

     

    Are you able to implement Leveraging BIG-IP APM for seamless client NTLM Authentication in your LTMs? I am running 11.6 Hotfix with no luck. I am getting issues authenticating with the AD: init: Error [0xc000006d,NT_STATUS_LOGON_FAILURE] connecting to DC 10.10.10.5

     

    Please advise Thank you

     

  • Hi J. Navarro,

     

    Do you have any updates on the issue you were having? We are experiencing the exact same and the is effecting user access to certain services...

     

    Thanks!

     

  • Hi Naheed! Our domain name (mydomaincorp.com) is different from realm domain (mydomain) NTLM process in the LTM was getting confussed - it strip down the domain name - mydomaincorp and was trying to authenticate with it as if was the realm domain.

     

    For example: john@mydomaincorp.com -> mydomaincorp/john

     

    F5 will have solution solved for version 12.

     

    At the end, I decided to use this method:

     

    https://support.f5.com/kb/en-us/products/big-ip_apm/manuals/product/apm-authentication-single-sign-on-11-6-0/9.html

     

    Hope this helps.