mirror of
https://github.com/moparisthebest/davmail
synced 2025-02-28 09:21:49 -05:00
LDAP: iCal: do not send LDAP_SIZE_LIMIT_EXCEEDED on apple-computer search by cn with sizelimit 1
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@716 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
5eb3fd2569
commit
e0d80701a3
@ -614,7 +614,8 @@ public class LdapConnection extends AbstractConnection {
|
||||
DavGatewayTray.debug(new BundleMessage("LOG_LDAP_REQ_SEARCH_INVALID_DN", currentMessageId, dn));
|
||||
}
|
||||
|
||||
if (size == sizeLimit) {
|
||||
// iCal: do not send LDAP_SIZE_LIMIT_EXCEEDED on apple-computer search by cn with sizelimit 1
|
||||
if (size > 1 && size == sizeLimit) {
|
||||
DavGatewayTray.debug(new BundleMessage("LOG_LDAP_REQ_SEARCH_SIZE_LIMIT_EXCEEDED", currentMessageId));
|
||||
sendClient(currentMessageId, LDAP_REP_RESULT, LDAP_SIZE_LIMIT_EXCEEDED, "");
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user