<HTML><BODY><p><br>While I experienting hundreeds of issues trying to configure data connector and connection pool could anynody explain if it is really needed?<br>I found the following in docs:<br data-mce-bogus="1"></p><p><strong>Attribute Retrieval</strong></p><p>LDAP attributes are returned as part of the authentication process and exposed in the LDAPResponseContext.<br>By default, attributes will be searched for using the same connection the user authenticated on. <br data-mce-bogus="1"></p><p>I've added cn to both<br data-mce-bogus="1"></p><p>idp.authn.LDAP.returnAttributes= cn,passwordExpirationTime,loginGraceRemaining<br data-mce-bogus="1"></p><p>and <br data-mce-bogus="1"></p><p>idp.attribute.resolver.LDAP.returnAttributes= cn,homephone,mail<br data-mce-bogus="1"></p><p>Also uid attribute is available withoud configuring another LDAP connection.</p><p>So the question is Do one need to configure addional ldap connection if he needs attributes other than uid?<br data-mce-bogus="1"></p><blockquote style="border-left:1px solid #0857A6; margin:10px; padding:0 0 0 10px;">
        Вторник, 24 ноября 2015, 15:29 UTC от "Doan, Tommy" <tdoan@smu.edu>:<br>
        <br>
        <div id="">
        



    











        
        


        
        
        

        

        
        

        

        
        



<div class="js-helper js-readmsg-msg">
        
        <div>
                
                
            <div id="style_14483790230000000150_BODY">I believe Robo is missing the reference to a data connector in his attribute definition. Below is how we use CN in case it helps. <br>
<br>
attribute-resolver.xml<br>
<resolver:AttributeDefinition xsi:type="ad:Simple" id="commonName" sourceAttributeID="cn"><br>
  <resolver:Dependency ref="myLDAP" /><br>
  <resolver:AttributeEncoder xsi:type="enc:SAML1String" name="urn:mace:dir:attribute-def:cn" /><br>
  <resolver:AttributeEncoder xsi:type="enc:SAML2String" name="urn:oid:2.5.4.3" friendlyName="cn" /><br>
</resolver:AttributeDefinition><br>
 
</div>
            
        
                
        </div>

        
</div>


</div>
</blockquote><p>
<br> <br>Robo Burne<br></p></BODY></HTML>