Forum Discussion
Using APM to authenticate to Windows AD with a UPN that is different then our domain name
Hi all
I am trying to use F5 APM to login into a webtop with Windows AD credentials but when using my UPN = myuser@univeristy.com it does not work because our real AD domain is school.univerity.com
Without APM, normally a user with UPN student@university.com logs in and AD does a look up in the GAL and finds out who you are and where you belong. IE student@university.com is also student@mail.univeristy.com
So when using my APM webtop, if I login as myuser@school.university.com - all works fine. But if I try myuser@school.com - it fails.
I have read a SOL12252: Microsoft Active Directory authentication using UPN may fail if the user's UPN suffix does not match the domain suffix
This sounds like the right way to go, but I can not seem to get it work.
Has anyone had to deal with a similar situation?
Thanks
Chung
- Stanislas_Piro2Cumulonimbus
One solution is to do:
- AD query to find the user based on UPN and retrieve Samacountname
- Variable assign to assign ad.last.attr.Samacountname to session.logon.last.username
- AD Auth
- chungyu_16122Altostratus
Thanks, I will be testing this option out next week.
- Mark_CloutierNimbostratus
In order to support Autodiscovery and Skype for Business authentication to Exchange, I am also trying to to exactly what Stanilas mentions above query AD based on UPN and retrieve the SAMacccountname so I can use SAM account name against LDAP, but then use the UPN in the post to Exchange CAS servers. Is that process in a post here somewhere already?
- chungyu_16122AltostratusThanks all I have solved the issue by using a LDAP Authentication and a search filter query = (UserPrincipalName=%{session.logon.last.username}) Regards chung
- Mark_Cloutier_2Nimbostratus
In order to support Autodiscovery and Skype for Business authentication to Exchange, I am also trying to to exactly what Stanilas mentions above query AD based on UPN and retrieve the SAMacccountname so I can use SAM account name against LDAP, but then use the UPN in the post to Exchange CAS servers. Is that process in a post here somewhere already?
- chungyu_16122AltostratusThanks all I have solved the issue by using a LDAP Authentication and a search filter query = (UserPrincipalName=%{session.logon.last.username}) Regards chung
- Vikash_Ramanla1Nimbostratus
Hi I have the same issue and found this article and have it working. I have one question however.
When the AD Query for UPN fails to find an entry I would like to get back to the logon page. However the fallback from AD Query cannot be wired back to logon page.
What are our options?
- Vikash_Ramanla1Nimbostratus
Thanks this was very helpful and works like a charm.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com