There are some attributes that are used by LDAP to populate the data by it self. These are not fetched by default using context adapter. We need to explicitly mention the attributes that we want to fetch. For this we can simply use the ldapTemplate search method or look up method. It may be better to go with search
ldapTemplate.search(Base,search Criteria, scope, operationalAttrbs[], contextMapper);
ldapTemplate.search(Base,search Criteria, scope, operationalAttrbs[], contextMapper);