You may map like the following..<br><br>Here domain name is your domain name.<br><br><br><resolver:AttributeDefinition id="eduPersonPrincipalName" xsi:type="Scoped" xmlns="urn:mace:shibboleth:2.0:resolver:ad"<br>
scope="domain-name" sourceAttributeID="uid"><br><br> <resolver:Dependency ref="my_LDAP" /><br><br> <resolver:AttributeEncoder xsi:type="SAML1ScopedString" xmlns="urn:mace:shibboleth:2.0:attribute:encoder"<br>
name="urn:mace:dir:attribute-def:eduPersonPrincipalName" /><br><br> <!-- additional definition for use with commercial SAML 1.1 SPs --><br> <resolver:AttributeEncoder xsi:type="SAML1ScopedString" xmlns="urn:mace:shibboleth:2.0:attribute:encoder"<br>
name="urn:oid:1.3.6.1.4.1.5923.1.1.1.6" scopeType="inline" /><br><br> <resolver:AttributeEncoder xsi:type="SAML2ScopedString" xmlns="urn:mace:shibboleth:2.0:attribute:encoder"<br>
name="urn:oid:1.3.6.1.4.1.5923.1.1.1.6" friendlyName="eduPersonPrincipalName" /><br></resolver:AttributeDefinition><br><br>Thanks,<br>-Ashok<br><br><div class="gmail_quote">On Wed, Aug 10, 2011 at 7:02 AM, Cantor, Scott E. <span dir="ltr"><<a href="mailto:cantor.2@osu.edu">cantor.2@osu.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">On 8/10/11 9:26 AM, "Sukesh Nischal" <<a href="mailto:Sukesh.Nischal@itslearning.com">Sukesh.Nischal@itslearning.com</a>><br>
wrote:<br>
<div><div></div><div class="h5">>Iım trying to create a SAML2 attribute on the IdP using LDAP as a data<br>
>source. Iım pulling in the sAMAccountName and I want to append a string<br>
>like ³@domain² to it and map it to eduPersonPrincipalName , so I end up<br>
>releasing sAMAccountName@domain. Iıve had a look at the documentation for<br>
>SAML 2 String Attribute Encoder but I canıt see how you can do this.<br>
>Could someone please advise me of the correct syntax I need to put in my<br>
>attribute-resolver.xml ?<br>
<br>
</div></div>EPPN is scoped, you need to use the Scoped attribute definition and just<br>
supply the value to append in the configuration.<br>
<font color="#888888"><br>
-- Scott<br>
</font><div><div></div><div class="h5"><br>
--<br>
To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net">users-unsubscribe@shibboleth.net</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><br><br><br><br><br><br><br>