Forum Discussion

Rabbit23_116296's avatar
Rabbit23_116296
Icon for Nimbostratus rankNimbostratus
Nov 29, 2013

BigIP LTM, APM and Exchange 2010 design question for multiple AD DS instances

We have a resource forest with Exchange linked mailbox accounts but we also have regular mailbox accounts. This means we have people that are domain joined to two production active directory domains.

 

If focusing on outlook anywhere, the APM module is preauthentcating domain "x" and allows for SSO based on NTLM cached credentials but I would like to be able to use the same authentication method from domain "y" using the same BIG-IP virtual server.

 

i.e. - I don't want people to use two different Outlook Anywhere URLs as we don't need to do that with the current Microsoft TMG reverse proxy solution.

 

13 Replies

  • Do you want to authenticate user on both AD servers, or depending on the username or domain you want to choose the AD to request ?

     

  • yes I presume you mean if I have multiple AAA Active Directory Servers in their own pools, one for each domain?

     

    Yes I would think this is how it would work. But then, based on the NTLM credentials it would forward the authentication request to the appropriate Active Directory authentication pool.

     

  • Don't know if it's what you want, but you can have this :

                                       -> NTLM to server 1
    Authentication -> domain condition
                                       -> NTML to server 2
    

    It's only based on VPE creation. Let me know if it's good for you and I'll tell more about it.

  • Here are steps you have to do :

     

    1. Create Logon Page with Username, Password and Domain
    2. Add a SSO Credential Mapping
    3. Add an empty box with 2 branches

       

      1 fallback and the other with the condition : mcget {session.logon.last.domain} == your_domain_name
    4. Then you can make your AD authentication
    5. And finally make your Resource Assignment
  • Does this mean the user will be presented with a form he needs to authenticate against?

     

  • I may have a confusion, I've just read from the begining your request.

     

    I thinked you it was Outlook Web Access question, but it's Outlook Anywhere...

     

    You will find informations on this here

     

    If you want to check the domain on ntlm informations, the condition is :

     

    mcget {session.ntlm.last.username} == your_domain_name

     

    • Rabbit23_116296's avatar
      Rabbit23_116296
      Icon for Nimbostratus rankNimbostratus
      have followed that link which does not mention multiple domain accounts used to access the same service - Outlook Anywhere is working but only for one domain. This is the error I get from the debug APM log - kerberos: can't get S4U2Self ticket for user @ - cannot resolve servers for KDC in realm "" (-1765328164) We do have a two way forest root trust and Kerberos constrained delegation works in the current environment (dns is also solid). I have tried playing with all the variations of settings in KRB5.CONF on the load balancer. I am trying to replicate the Microsoft TMG behavior which uses it's computer account for Kerberos Constrained Delegation. It appears as if the APM works a little different, do I need another SSO configuration with a user account in the other domain I want to get to work? Anyone that has actually worked with this have any idea I would appreciate it.
  • I may have a confusion, I've just read from the begining your request.

     

    I thinked you it was Outlook Web Access question, but it's Outlook Anywhere...

     

    You will find informations on this here

     

    If you want to check the domain on ntlm informations, the condition is :

     

    mcget {session.ntlm.last.username} == your_domain_name

     

    • Rabbit23_116296's avatar
      Rabbit23_116296
      Icon for Nimbostratus rankNimbostratus
      have followed that link which does not mention multiple domain accounts used to access the same service - Outlook Anywhere is working but only for one domain. This is the error I get from the debug APM log - kerberos: can't get S4U2Self ticket for user @ - cannot resolve servers for KDC in realm "" (-1765328164) We do have a two way forest root trust and Kerberos constrained delegation works in the current environment (dns is also solid). I have tried playing with all the variations of settings in KRB5.CONF on the load balancer. I am trying to replicate the Microsoft TMG behavior which uses it's computer account for Kerberos Constrained Delegation. It appears as if the APM works a little different, do I need another SSO configuration with a user account in the other domain I want to get to work? Anyone that has actually worked with this have any idea I would appreciate it.
  • I have managed to get this to work for both domains. Manually editing the krb5.conf file to include a mapping for the domain name worked. LEGACYNAME = LEGACYNAME.ROOT.LOCAL

     

    I can now pre-authenticate users from any domain.

     

    • Thomas_Gobet's avatar
      Thomas_Gobet
      Icon for Nimbostratus rankNimbostratus
      Thanks for your feedback and for let us know it's good !
  • Sure - one thing down, now it's to figure out what to do with OWA with multiple domains :)