Currently mapping fails for operational attributes when LdapTemplate.findByDn(Name, Class) is called. Basically the list of all interesting attributes should be extracted beforehand and those should be explicitly requested internally through a call of T lookup(final Name dn, final String[] attributes, final ContextMapper<T> mapper) instead of just calling the simple T lookup(final Name dn, final ContextMapper<T> mapper) in https://github.com/spring-projects/spring-ldap/blob/master/core/src/main/java/org/springframework/ldap/core/LdapTemplate.java#L1695
Currently mapping fails for operational attributes when
LdapTemplate.findByDn(Name, Class)
is called. Basically the list of all interesting attributes should be extracted beforehand and those should be explicitly requested internally through a call ofT lookup(final Name dn, final String[] attributes, final ContextMapper<T> mapper)
instead of just calling the simpleT lookup(final Name dn, final ContextMapper<T> mapper)
in https://github.com/spring-projects/spring-ldap/blob/master/core/src/main/java/org/springframework/ldap/core/LdapTemplate.java#L1695