Spring LdapRepository returns no results while Spring Security works
问题 My Problem I am using an LdapRepository to get user information from an Ldap server. This Ldap server is also queried by Spring Security to authenticate user. My issue is, that Spring Security is able to find and identify users, while I'm unable to find users through my LdapRepository, using the same LdapContextSource. Querying the LdapRepository in any way does not return results ( null or empty Lists). What I have tried Using the ldapsearch tool directly - Works Using LdapQuery instead of