Version Affected: All
Description:
In Active Directory, a Users Manager is stored as a distinguished name.
Eg: CN=Manager Name,OU=IT,OU=Users,OU=York,DC=Example,DC=com
If you wish to include the Managers name in your Saml assertion, just the name and not the whole DN makes more sense and this KB will show you how to exact that name from the DN
Cause:
Active Directory standards
Resolution:
1. Choose an AuxID to use for the profile field mapping. In my example, I am using AuxID3.
2. On the Post Auth Tab, enable the Transformation Engine and edit it
3. Edit the AuxID3 section of the transformation engine code.
<AuxID3>
<xsl:value-of select="substring-after(substring-before(user/AuxID3, ','),'CN=')"/>
</AuxID3>
4. Save the changes and test.
An example XSLT is attached to this KB Article.
SecureAuth Knowledge Base Articles provide information based on specific use cases and may not apply to all appliances or configurations. Be advised that these instructions could cause harm to the environment if not followed correctly or if they do not apply to the current use case.
Customers are responsible for their own due diligence prior to utilizing this information and agree that SecureAuth is not liable for any issues caused by misconfiguration directly or indirectly related to SecureAuth products.
Comments
Please sign in to leave a comment.