* @return LDAPSearchResults
*/
public LDAPSearchResults LDAPSearch() {
LDAPSearchResults res = null;
try {
LDAPPersistSearchControl persistCtrl = PSearchControl();
LDAPSearchConstraints cons = connection.getSearchConstraints();
cons.setBatchSize(1);
cons.setServerControls(persistCtrl);
// Start the persistent search.
res = connection.search(suffix, LDAPv3.SCOPE_SUB, "(objectclass=*)", null, false, cons);