When resolving dynamic references, LDAPReferencegetSourceIdsForTarget changes the returning attributes for the default search controls.
The consequence is all the following LDAP requests will use this modified search controls with incomplete returning attributes. And the results will be incomplete.