<div class="gmail_quote">Hi everybody<div><br></div><div>I work with the latest version of Shibboleth.<br><div><br></div><div>I would like to configure my LDAP Dataconnector with a dynamic baseDN which depends on the result of the principalName.</div>
<div>For example, here is my (bad) DataConnector:</div><div><br></div><div><div><resolver:DataConnector id="openDJ" xsi:type="dc:LDAPDirectory"</div><div> ldapURL="ldap://localhost:389"</div>
<div> <b>baseDN</b>="cn=${<b>requestContext.principalName</b>}, ou=users, ou=mycompany, c=com"</div><div> principal="cn=Directory Manager"</div><div> principalCredential="************"</div>
<div> searchScope="ONELEVEL"></div><div> <dc:FilterTemplate></div><div> <![CDATA[</div><div> (cn=*)</div><div> ]]></div><div> </dc:FilterTemplate></div>
<div> <dc:ReturnAttributes>cn</dc:ReturnAttributes></div><div></resolver:DataConnector></div><div><br></div><div>If I authenticate with my own credentials (id=talbain), I should find entries like this : cn=xxx,cn=talbain,ou=users,ou=mycompany,c=com</div>
It doesn't work, but how can I proceed to succeed ?
</div><div><br></div><div>Thanks a lot</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Thierry ALBAIN</div></font></span></div>
</div><br>