I did it, but without success.<br>
Has someone done it before ?<div><br><br><div class="gmail_quote">On Fri, Dec 16, 2011 at 16:06, Chad La Joie <span dir="ltr"><<a href="mailto:lajoie@itumi.biz">lajoie@itumi.biz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Refer to the documentation for what the template language supports.<br>
<div><div class="h5"><br>
On Fri, Dec 16, 2011 at 09:57, Thierry Albain <<a href="mailto:talbain@sqli.com">talbain@sqli.com</a>> wrote:<br>
> Hi everybody<br>
><br>
> I work with the latest version of Shibboleth.<br>
><br>
> I would like to configure my LDAP Dataconnector with a dynamic baseDN which<br>
> depends on the result of the principalName.<br>
> For example, here is my (bad) DataConnector:<br>
><br>
> <resolver:DataConnector id="openDJ" xsi:type="dc:LDAPDirectory"<br>
> ldapURL="ldap://localhost:389"<br>
> baseDN="cn=${requestContext.principalName}, ou=users, ou=mycompany,<br>
> c=com"<br>
> principal="cn=Directory Manager"<br>
> principalCredential="************"<br>
> searchScope="ONELEVEL"><br>
> <dc:FilterTemplate><br>
> <![CDATA[<br>
> (cn=*)<br>
> ]]><br>
> </dc:FilterTemplate><br>
> <dc:ReturnAttributes>cn</dc:ReturnAttributes><br>
> </resolver:DataConnector><br>
><br>
> If I authenticate with my own credentials (id=talbain), I should find<br>
> entries like this : cn=xxx,cn=talbain,ou=users,ou=mycompany,c=com<br>
> It doesn't work, but how can I proceed to succeed ?<br>
><br>
> Thanks a lot<br>
><br>
> Thierry ALBAIN<br>
><br>
><br>
</div></div>> --<br>
> To unsubscribe from this list send an email to<br>
> <a href="mailto:users-unsubscribe@shibboleth.net">users-unsubscribe@shibboleth.net</a><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
Chad La Joie<br>
<a href="http://www.itumi.biz" target="_blank">www.itumi.biz</a><br>
trusted identities, delivered<br>
--<br>
To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net">users-unsubscribe@shibboleth.net</a><br>
</font></span></blockquote></div><br></div>