<br><div>I am getting an error from my shibb instance when I try to log into a vendor's SP and I am hoping someone can offer advise. I am using shibb 2.1..5 and I am trying to authenticate with <a href="http://one45.com">one45.com</a>. </div>
<div><br></div><div>When I send the assertion I can see an error message in the assertion. Here is the snip:</div><div><br></div><div><saml2p:StatusCode Value="urn:oasis:names:tc:SAML:2.0:status:InvalidNameIDPolicy"/></div>
<div> </saml2p:StatusCode><saml2p:StatusMessage>NameID Format not supported: urn:oasis:names:tc:SAML:2.0:nameid-format:transient</div><div></saml2p:StatusMessage></div><div><br></div><div>The vendor's test login page shows error messages:</div>
<div><br></div><div>
<p class="p1">SimpleSAML_Error_Error: UNHANDLEDEXCEPTION</p>
<p class="p2">Backtrace:</p>
<p class="p2">0 /var/www/simplesamlphp/www/module.php:180 (N/A)</p><p class="p2">Caused by: sspmod_saml_Error: Responder/InvalidNameIDPolicy: NameID Format not supported: urn:oasis:names:tc:SAML:2.0:nameid-format:transient</p>
<p class="p2">Backtrace:</p>
<p class="p2">3 /var/www/simplesamlphp/modules/saml/lib/Message.php:368 (sspmod_saml_Message::getResponseError)</p>
<p class="p2">2 /var/www/simplesamlphp/modules/saml/lib/Message.php:489 (sspmod_saml_Message::processResponse)</p>
<p class="p2">1 /var/www/simplesamlphp/modules/saml/www/sp/saml2-acs.php:50 (require)</p>
<p class="p2">0 /var/www/simplesamlphp/www/module.php:135 (N/A)</p><p class="p2"><br></p><p class="p2">It seems to be telling me I am sending the nameID in the wrong format.</p><p class="p2"><br></p><p class="p2">Here is my attribute resolver snip for the relevant attributes:</p>
<p class="p2"></p><p class="p2"> <resolver:AttributeDefinition id="principal" xsi:type="PrincipalName" xmlns="urn:mace:shibboleth:2.0:resolver:ad"</p><p class="p2"> sourceAttributeID="uid" ></p>
<p class="p2"> <resolver:Dependency ref="affLDAP" /></p><p class="p2"> <resolver:AttributeEncoder xsi:type="SAML2StringNameID"</p><p class="p2"> xmlns="urn:mace:shibboleth:2.0:attribute:encoder"</p>
<p class="p2"> nameFormat="urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified" /></p><p class="p2"> </resolver:AttributeDefinition ></p><p class="p2"><br></p><p class="p2">and</p><p class="p2">
<br></p><p class="p2"></p><p class="p2"> <resolver:AttributeDefinition id="uid" xsi:type="Simple" xmlns="urn:mace:shibboleth:2.0:resolver:ad"</p><p class="p2"> sourceAttributeID="uid" ></p>
<p class="p2"> <resolver:Dependency ref="affLDAP" /></p><p class="p2"> <resolver:AttributeEncoder xsi:type="SAML1String" xmlns="urn:mace:shibboleth:2.0:attribute:encoder"</p>
<p class="p2"> name="urn:mace:dir:attribute-def:uid" /></p><p class="p2"> <resolver:AttributeEncoder xsi:type="SAML2String" xmlns="urn:mace:shibboleth:2.0:attribute:encoder"</p>
<p class="p2"> name="urn:oid:0.9.2342.19200300.100.1.1" friendlyName="uid" /></p><p class="p2"> </resolver:AttributeDefinition></p><p class="p2"><br></p><p class="p2">Now, here is my attribute filter statement for <a href="http://one45.com">one45.com</a>:</p>
<p class="p2"> <AttributeFilterPolicy id="one45Policy"></p><p class="p2"></p><p class="p2"> <PolicyRequirementRule xsi:type="basic:AttributeRequesterString" value="<a href="https://georgetown.one45.com">https://georgetown.one45.com</a>" /></p>
<p class="p2"> <AttributeRule attributeID="principal"></p><p class="p2"> <PermitValueRule xsi:type="basic:ANY" /></p><p class="p2"> </AttributeRule></p><p class="p2"> <AttributeRule attributeID="uid"></p>
<p class="p2"> <PermitValueRule xsi:type="basic:ANY" /></p><p class="p2"> </AttributeRule></p><p class="p2"> </AttributeFilterPolicy></p><div><br></div><div>Does anyone have a notion what I am doing wrong?</div>
<div><br></div><div>Thanks,</div><div><br></div><div>Dave</div><p></p><div><br></div><p></p><div><br></div><p></p><p class="p2"><br></p></div>