I found that this patch, removes the problem:

    /**
     * Allocates a new LDAP message ID.  These are arbitrary numbers used to
     * correlate client requests with server responses.
     * @return new unique msgId
     */
    private int allocateId () {
        synchronized (m_sendRequestLock) {
            m_highMsgId = (m_highMsgId + 1) % MAXMSGID;


           // 3-12-02 Patch to correct the 32K limit on Searches
            if (m_highMsgId > 32766) m_highMsgId = 1;

            return m_highMsgId;
        }
    }



Reply via email to