Forum Discussion
APM LDAP Auth Using Email Address
We are in the process of moving away from one HR system to another. By doing this, all of our warehouses users need to be able to log into some Sharepoint sites occasionally. We already have this setup though APM and works great, but they want to allow an additional login method. Here are the values I am working with:
Employee Name: Vince Carter
Email Address: vince.carter1234@whatever.com
Username: vcarter@company.com
The email address domain (there will never be an actual AD Domain for @whatever.com) and the actual user account domain are completely different. They want the user to only have to remember the email address and not both accounts.
So in my Access Policy, they want the user to enter vince.carter1234@whatever.com and their password for the actual Active Directory Domain Name which in this case is @company.com.
The vcarter@company.com AD account will have the mail attribute filled with vince.carter1234@whatever.com.
Does anyone know a way for the user to be able to log in their email address, do an LDAP query for their email address, authenticate them and then do a SSO (since we're dealing with Sharepoint) using their samaccountname (vcarter)?
This sounds crazy backwards, but it is what I am tasked to work on.
1 Reply
- Michael_Jenkins
Cirrostratus
I just finished doing something similar. Essentially I modified the policy to allow
,domain\username
(using default domain), andusername
. Since you're asking about just email, I'll explain what I did there. (Note: we use AD instead of LDAP, but this is how I think it ought to work for you)emailAfter the
action, I would use theLogin Page
action to search for the user. I would set theLDAP Auth
toSearchFilter
and the root LDAP DN in the(mail=%{session.logon.last.logonname})
.SearchDNFrom there, use an
action with the sameLDAP Query
andSearchFilter
and add whatever attributes you'll need (i.e.SearchDN
).samaccountnameFrom there, you can add an
object usingSSO Credential Mapping
for thesession.ldap.last.attr.sAMAccountName
property (may show up in the drop down there).SSO Token UsernameHopefully that will help.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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