<div dir="ltr"><div>Hello,</div><div><br></div><div>I've been working on this issue for a couple of days now, and don't seem to be getting anywhere.</div><div><br></div><div>I had no issues connecting my new Shibboleth 3 IdP installation to Active Directory install using LDAPS and authn-ldap.  The user I'm testing with has Display Name, First Name, and Last Name filled out in AD.</div><div><br></div><div>These two out of box Attribute Definitions work properly and ePPN is sent to my Service Provider:</div><div><br></div><div><div>    <AttributeDefinition id="eduPersonPrincipalName" xsi:type="Scoped" scope="%{idp.scope}" sourceAttributeID="uid"></div><div>        <Dependency ref="uid" /></div><div>        <AttributeEncoder xsi:type="SAML1ScopedString" name="urn:mace:dir:attribute-def:eduPersonPrincipalName" encodeType="false" /></div><div>        <AttributeEncoder xsi:type="SAML2ScopedString" name="urn:oid:1.3.6.1.4.1.5923.1.1.1.6" friendlyName="eduPersonPrincipalName" encodeType="false" /></div><div>    </AttributeDefinition></div><div><br></div><div>    <AttributeDefinition id="uid" xsi:type="PrincipalName"></div><div>        <AttributeEncoder xsi:type="SAML1String" name="urn:mace:dir:attribute-def:uid" encodeType="false" /></div><div>        <AttributeEncoder xsi:type="SAML2String" name="urn:oid:0.9.2342.19200300.100.1.1" friendlyName="uid" encodeType="false" /></div><div>    </AttributeDefinition></div></div><div><br></div><div><br></div><div>The following line is set in idp.properties file (I've also tried with specifying specific AD attribute names):</div><div>idp.authn.LDAP.returnAttributes                 = *<br></div><div><br></div><div><br></div><div>However, whenever I try adding a new attribute definition, such as displayName, like so:</div><div><br></div><div><div>    <AttributeDefinition id="displayName" xsi:type="Simple" sourceAttributeID="displayName"></div><div>        <AttributeEncoder xsi:type="SAML1String" name="urn:mace:dir:attribute-def:displayName" encodeType="false" /></div><div>        <AttributeEncoder xsi:type="SAML2String" name="urn:oid:2.16.840.1.113730.3.1.241" friendlyName="displayName" encodeType="false" /></div><div>    </AttributeDefinition></div></div><div><br></div><div><br></div><div>.. It errors out with an error like "no dependencies were configured". Why is it that the "uid" Attribute Definition can be used without specifying a Dependency, but I can't do the same with displayName (or others)?</div><div><br></div><div> Since I'm using the built-in authn-ldap, I don't know of any "Dependency ref=" that I can add to map to this Active Directory variable.  If I'm already able to get uid from the AD connection, I shouldn't need to create a "myLDAP" DataConnector do I?  That seems rather redundant.</div><div><br></div><div>Any help on this would be great.</div><div><br>Thanks,</div><div>Andrew</div></div>