Use provided LDAP search method to get login from dn. This way the configured filters are applied for each source, so we know which cofigured source this entry comes from and which other configuration entries apply.
Merge branch 'ldapDN' (commit itself is a double commit, already done on master, but cherry-picked to another branch for the pull request to upstream)