From 9d00702c199be9289ec0d896d1203013d9c94728 Mon Sep 17 00:00:00 2001 From: mguessan Date: Fri, 13 Aug 2010 22:34:26 +0000 Subject: [PATCH] LDAP: fix 3043659, include entries starting with Z git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1337 3d1905a2-6b24-0410-a738-b14d5a86fcbd --- src/java/davmail/ldap/LdapConnection.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/davmail/ldap/LdapConnection.java b/src/java/davmail/ldap/LdapConnection.java index d26eca4d..a3a1d43a 100644 --- a/src/java/davmail/ldap/LdapConnection.java +++ b/src/java/davmail/ldap/LdapConnection.java @@ -1297,7 +1297,7 @@ public class LdapConnection extends AbstractConnection { } } // full search - for (char c = 'A'; c < 'Z'; c++) { + for (char c = 'A'; c <= 'Z'; c++) { if (!abandon && persons.size() < sizeLimit) { for (ExchangeSession.Contact person : session.galFind(session.startsWith("uid", String.valueOf(c)), returningAttributes, sizeLimit).values()) { persons.put(person.get("uid"), person);