ldapsdk
ldapsdk copied to clipboard
Is there a way to get multiple entries by dn using a single ldap call?
I have a code like this:
List<String> dns = ...
List<Entry> entries = new ArrayList<>()
for(dn: dns)
entries.add(connection.getEntry())
I don't like this code because it makes n ldap calls.
Is there a way to rewrite it to make a single Ldap call ?