Yes, I've tried that, but it doesn't seem to work:
<Attributes xmlns="urn:mace:shibboleth:2.0:attribute-map"
xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance">
<!--
The mappings are a mix of SAML 1.1 and SAML 2.0 attribute names
agreed to within the Shibboleth
community. The non-OID URNs are SAML 1.1 names and most of the OIDs
are SAML 2.0 names, with a
few exceptions for newer attributes where the name is the same for
both versions. You will
usually want to uncomment or map the names for both SAML versions
as a unit.
-->
<!-- First some useful eduPerson attributes that many sites might
use. -->
<Attribute name="urn:mace:dir:attribute-def:eduPersonPrincipalName"
id="eppn">
<AttributeDecoder xsi:type="ScopedAttributeDecoder"/>
</Attribute>
<Attribute name="urn:oid:1.3.6.1.4.1.5923.1.1.1.6" id="eppn">
<AttributeDecoder xsi:type="ScopedAttributeDecoder"/>
</Attribute>
<Attribute
name="urn:mace:dir:attribute-def:eduPersonScopedAffiliation"
id="affiliation">
<AttributeDecoder xsi:type="ScopedAttributeDecoder"
caseSensitive="false"/>
</Attribute>
<Attribute name="urn:oid:1.3.6.1.4.1.5923.1.1.1.9" id="affiliation">
<AttributeDecoder xsi:type="ScopedAttributeDecoder"
caseSensitive="false"/>
</Attribute>
<Attribute name="urn:mace:dir:attribute-def:eduPersonAffiliation"
id="unscoped-affiliation">
<AttributeDecoder xsi:type="StringAttributeDecoder"
caseSensitive="false"/>
</Attribute>
<Attribute name="urn:oid:1.3.6.1.4.1.5923.1.1.1.1"
id="unscoped-affiliation">
<AttributeDecoder xsi:type="StringAttributeDecoder"
caseSensitive="false"/>
</Attribute>
<Attribute name="urn:mace:dir:attribute-def:eduPersonEntitlement"
id="entitlement"/>
<Attribute name="urn:oid:1.3.6.1.4.1.5923.1.1.1.7" id="entitlement"/>
<Attribute name="urn:oid:2.5.4.3" id="cn"/>
<Attribute name="urn:oid:2.5.4.4" id="sn"/>
<Attribute name="urn:oid:2.5.4.42" id="givenName"/>
<Attribute name="urn:oid:0.9.2342.19200300.100.1.3" id="mail"/>
<Attribute name="urn:oid:0.9.2341.19200300.100.1.1" id="uid"/>
</Attributes>
I should believe the attribute-map.xml file is valid, however, it seems
like the SP is ignoring my mappings . . .
Thanks again, Palle
On 06/03/13 08.03, Palle Girgensohn wrote:
> Edit shib's attribute-mapping.xml and add the attributes you need.
>
> 6 mar 2013 kl. 07:21 skrev S锟絩en Gr锟絥ning Iversen <
s.gro...@gmail.com>:
>
>> Hi Palle,
>>
>> I turned on DEBUG logging and it somewhat hellped me - I'm integrating Shibboleth with the content management system, Typo3, and apparently Typo3 isn't accepting the login (it's not mapping to a user) since the attributes seem to never arrive at the SP in the correct format.
>>
>> I specified
>>
>> 'AttributeNameFormat' =>
>> 'urn:oasis:names:tc:SAML:2.0:attrname-format:uri'
>>
>> in my saml20-sp-remote.php, but it sees it as DEBUG Shibboleth.AttributeExtractor.XML [2]: skipping unmapped NameID with format (urn:oasis:names:tc:SAML:2.0:nameid-format:transient) which I haven't changed generally on my IdP . . . -Should I do so?
>>
>> Best regards,
>>
>> S锟絩en G.
>>
>> On 05/03/13 23.55, Palle Girgensohn wrote:
>>> S锟絩en Gr锟絥ning Iversen skrev:
>>>> -S锟絩en G.