<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi all,<br>
    <br>
    I am trying to connect our IdP (v2.4) server to InCommon's R&amp;S
    Category of SPs and I can log into their test GENI Experimenter
    Portal&nbsp; URL here <br>
    <br>
    <a class="moz-txt-link-freetext" href="https://portal.geni.net/secure/env.php">https://portal.geni.net/secure/env.php</a> <br>
    <br>
    and I can also log into the test InCommon SP here <br>
    <br>
    <a class="moz-txt-link-freetext" href="https://service1.internet2.edu/test/">https://service1.internet2.edu/test/</a> <br>
    <br>
    One thing I noticed though, both give status pages for what
    attributes were received and both display my eduPersonPrincipalName
    correctly but they are not showing other attributes that I
    configured to be released like sn, givenName, mail etc.... I am not
    sure if that is by design (they just don't bother showing it)... or
    they are not receiving these attributes at all. The changes I made
    to the attribute-filter.xml file are as follows and I followed the
    directions in this URL
<a class="moz-txt-link-freetext" href="https://spaces.internet2.edu/display/InCFederation/Configure+a+Shibboleth+IdP+to+Release+Directory+Info">https://spaces.internet2.edu/display/InCFederation/Configure+a+Shibboleth+IdP+to+Release+Directory+Info</a><br>
    <br>
    &lt;afp:AttributeFilterPolicy id="releaseToAnySP"&gt;<br>
    &nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;afp:PolicyRequirementRule xsi:type="basic:ANY"/&gt;<br>
    &nbsp;<br>
    &nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;afp:AttributeRule
    attributeID="eduPersonPrincipalName"&gt;<br>
    &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;afp:PermitValueRule xsi:type="basic:ANY"/&gt;<br>
    &nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;/afp:AttributeRule&gt;<br>
    &nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;afp:AttributeRule attributeID="email"&gt;<br>
    &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;afp:PermitValueRule xsi:type="basic:ANY"/&gt;<br>
    &nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;/afp:AttributeRule&gt;<br>
    &nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;afp:AttributeRule attributeID="displayName"&gt;<br>
    &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;afp:PermitValueRule xsi:type="basic:ANY"/&gt;<br>
    &nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;/afp:AttributeRule&gt;<br>
    &nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;afp:AttributeRule attributeID="givenName"&gt;<br>
    &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;afp:PermitValueRule xsi:type="basic:ANY"/&gt;<br>
    &nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;/afp:AttributeRule&gt;<br>
    &nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;afp:AttributeRule attributeID="surname"&gt;<br>
    &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;afp:PermitValueRule xsi:type="basic:ANY"/&gt;<br>
    &nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;/afp:AttributeRule&gt;<br>
    &nbsp;&nbsp;&nbsp; &lt;/afp:AttributeFilterPolicy&gt;<br>
    <br>
    <br>
    The only other thing I could think of is if the
    attribute-resolver.xml file isn't pulling the right attributes from
    Active Directory (you can't release what you don't have). There are
    entries in the attribute-resolver.xml file for all the attributes
    that are not appearing ... for example..<br>
    <br>
    &lt;resolver:AttributeDefinition xsi:type="ad:Simple" id="<b>email</b>"
    sourceAttributeID="<b>mail</b>"&gt;<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;resolver:Dependency ref="<b>myLDAP</b>" /&gt;<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;resolver:AttributeEncoder xsi:type="enc:SAML1String"
    name="urn:mace:dir:attribute-def:mail" /&gt;<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;resolver:AttributeEncoder xsi:type="enc:SAML2String"
    name="urn:oid:0.9.2342.19200300.100.1.3" friendlyName="mail" /&gt;<br>
    &nbsp;&nbsp;&nbsp; &lt;/resolver:AttributeDefinition&gt;<br>
    <br>
    and .....<br>
    <br>
    &lt;resolver:AttributeDefinition xsi:type="ad:Simple" id="<b>surname</b>"
    sourceAttributeID="<b>sn</b>"&gt;<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;resolver:Dependency ref="<b>myLDAP</b>" /&gt;<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;resolver:AttributeEncoder xsi:type="enc:SAML1String"
    name="urn:mace:dir:attribute-def:sn" /&gt;<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;resolver:AttributeEncoder xsi:type="enc:SAML2String"
    name="urn:oid:2.5.4.4" friendlyName="sn" /&gt;<br>
    &nbsp;&nbsp;&nbsp; &lt;/resolver:AttributeDefinition&gt;<br>
    <br>
    but I think my LDAP connector might be filtering out everything
    except the sAMAccountName (which is used to build the
    eduPersonPrincipalName attribute)... here is the section of that
    file that names and establishes my LDAP connection to Active
    Directory<br>
    <br>
    <br>
    &nbsp;&lt;!-- LDAP Connector - just attach to the AD LDAP --&gt;<br>
    &nbsp;&nbsp;&nbsp; &lt;resolver:DataConnector id="myLDAP" xsi:type="LDAPDirectory"
    xmlns="urn:mace:shibboleth:2.0:resolver:dc" <br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; useStartTLS="<i>[our-TLS-setting]</i>"<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ldapURL="<a class="moz-txt-link-freetext" href="ldap://">ldap://</a><i>[our-AD-server]</i>:<i>[our-port-number]</i>"
    baseDN="<i>[our base DN]</i>" principal="<i>[our-user]</i>@wheatonma.edu"<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; principalCredential="<i>[service-account-password]</i>"&gt;<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b> &lt;FilterTemplate&gt;</b><b><br>
    </b><b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;![CDATA[</b><b><br>
    </b><b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      (sAMAccountName=$requestContext.principalName)</b><b><br>
    </b><b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ]]&gt;</b><b><br>
    </b><b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/FilterTemplate&gt;</b><br>
    <br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!-- We rely on the uniqueness of the objectSid.&nbsp; But it
    is binary so we *must* make it so --&gt;<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;LDAPProperty name="java.naming.ldap.attributes.binary"
    value="objectSid"/&gt;<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!-- If we are following from the GC we need thus on
    --&gt;<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;LDAPProperty name="java.naming.referral"
    value="follow"/&gt;<br>
    &nbsp;&nbsp;&nbsp; &lt;/resolver:DataConnector&gt;<br>
    <br>
    <br>
    Could that <i>FilterTemplate</i> section highlighted above be
    keeping other attributes from being pulled?<br>
    <br>
    Thanks!<br>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 

++++++++++++++++++++++++++++
Brian Gibson
Systems Administrator
Wheaton College

Are you a musician? If so visit my Arbans Online music site at 
<a class="moz-txt-link-freetext" href="http://arbansonline.com">http://arbansonline.com</a> and listen &amp; contribute
</pre>
  </body>
</html>