Need userPrincipalName attribute with the domain format
Muthuraman Sethuraman Sethuraman (US - Advisory)
muthuraman.sethuraman at pwc.com
Thu Jul 14 05:42:49 EDT 2016
Thanks Dave, for the suggestion.
I used the template something like this and it worked.
Anyways i will try out this way too, as i have hardcoded the domain name (
example.com) in the template.
<resolver:AttributeDefinition id="userPrincipalName" xsi:type="ad:Template">
<resolver:Dependency ref="uid" />
<resolver:AttributeEncoder xsi:type="enc:SAML1String"
name="userPrincipalName" encodeType="false" />
<resolver:AttributeEncoder xsi:type="enc:SAML2String"
name="userPrincipalName" friendlyName="userPrincipalName"
encodeType="false" />
<ad:Template>
<![CDATA[
${uid}@example.com
]]>
</ad:Template>
<ad:SourceAttribute>uid</ad:SourceAttribute>
</resolver:AttributeDefinition>
On Thu, Jul 14, 2016 at 3:07 PM, Dave Perry <Dave.Perry at hull-college.ac.uk>
wrote:
> Couldn't you used a scoped attribute too? E.g. (attribute-resover.xml)
> <resolver:AttributeDefinition xsi:type="ad:Scoped" id="domain_user"
> scope="domain.ext" sourceAttributeID="sAMAccountName">
> <resolver:Dependency ref="myLDAP" />
> </resolver:AttributeDefinition>
> (this would send 'adusername at domain.ext' as the attribute value for
> attribute domain_user)
>
> HTH,
> Dave
> _________________________________________________
> Dave Perry
> eLearning Technologist, Hull College Group
>
> Room L34 - Queens Gardens Library
> Wilberforce Drive, Queen's Gardens, Hull, HU1 3DG
> Extension 2230 / Direct Dial 01482 381930
>
> * Need a fast reply? Try elearning at hull-college.ac.uk *
>
> -----Original Message-----
> From: users [mailto:users-bounces at shibboleth.net] On Behalf Of Tom Zeller
> Sent: 12 July 2016 20:09
> To: Shib Users
> Subject: Re: Need userPrincipalName attribute with the domain format
>
>
> > On Jul 12, 2016, at 12:17 PM, Muthuraman Sethuraman Sethuraman (US -
> Advisory) <muthuraman.sethuraman at pwc.com> wrote:
> >
> > My Shibboleth IDP 3.2.1 is retrieving the userPrincipalName attribute
> value from AD without the domain name like user1 at example.com.
> > Instead its retrieving it as 'user1'
> >
> > Please let me know if there is a way to configure in my idp to return
> the userPrincipalName with the domain name, as my Citrix Netscaler SP is
> expecting it in that format.
>
> Probably either the template[1] or script[2] attribute definition.
>
> [1]
> https://wiki.shibboleth.net/confluence/display/IDP30/TemplateAttributeDefinition
> [2]
> https://wiki.shibboleth.net/confluence/display/IDP30/ScriptedAttributeDefinition
>
> --
> To unsubscribe from this list send an email to
> users-unsubscribe at shibboleth.net
>
> **********************************************************************
> This message is sent in confidence for the addressee
> only. It may contain confidential or sensitive
> information. The contents are not to be disclosed
> to anyone other than the addressee. Unauthorised
> recipients are requested to preserve this
> confidentiality and to advise us of any errors in
> transmission. Any views expressed in this message
> are solely the views of the individual and do not
> represent the views of the College. Nothing in this
> message should be construed as creating a contract.
>
> Hull College Group owns the email infrastructure, including the contents.
>
> Hull College Group is committed to sustainability, please reflect before
> printing this email.
> **********************************************************************
>
> TEXT
> --
> To unsubscribe from this list send an email to
> users-unsubscribe at shibboleth.net
>
--
*Muthuraman S*
PwC | SDC Manager | IdAM
Office: +1 404-838-4445 | Mobile: +91-9886302072
Email: muthuraman.sethuraman at pwc.com
PricewaterhouseCoopers LLP
EGL Business Park, Bengaluru, India
http://www.pwc.com/us
______________________________________________________________________
The information transmitted, including any attachments, is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited, and all liability arising therefrom is disclaimed. If you received this in error, please contact the sender and delete the material from any computer. PricewaterhouseCoopers LLP is a Delaware limited liability partnership. This communication may come from PricewaterhouseCoopers LLP or one of its subsidiaries.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20160714/d90a75eb/attachment-0001.html>
More information about the users
mailing list