<div dir="ltr">On Fri, May 3, 2013 at 11:38 AM, Juan Andrés Mucarquer <span dir="ltr">&lt;<a href="mailto:juan.mucarquer@alumnos.usm.cl" target="_blank">juan.mucarquer@alumnos.usm.cl</a>&gt;</span> wrote:<br><div class="gmail_extra">

<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im">On 05/03/2013 09:55 AM, Kevin P. Foote wrote:<br>


&gt; Not sure if I&#39;m understanding what you want to do .. but believe what<br>
&gt; you are trying to do is to pull in attributes to your authenticated<br>
&gt; principal.<br>
<br>
</div>No, my problem is that the authenticated principal (the one who passed<br>
the JAAS successfully) is not the same user whose attributes are being<br>
pulled. This caused because the LDAP DataConnector finds another user<br>
with the same uid first.<br>
<br>
What I&#39;m trying to achieve is to use another LDAP attribute to search<br>
this user in the LDAP DataConnector, like employeeNumber for example, or<br>
pass the entire DN coming from JAAS/VT-LDAP to use it in this DataConnector.<br></blockquote><div><br></div><div style>If you want the DN set as the principal, use the following options in your JAAS config:</div><div>    setLdapPrincipal=&quot;false&quot;</div>

<div style>    setLdapDnPrincipal=&quot;true&quot; </div><div style><br></div><div style>You can then use an object level search for your attribute resolution.</div><div style><br></div><div style>--Daniel Fisher</div><div style>

<br></div></div></div></div>