bc26583 Ticket #48010 - winsync range retrieval gets only 5000 values upon initialization

Authored and Committed by nhosoi 4 years ago
    Ticket #48010 - winsync range retrieval gets only 5000 values upon initialization
    
    Description: Search with DirSync control does not support range subtype.
    On WS2012, it returns all the multi-valued attribute values regardless
    of MaxValRange, but on WS2008, it cuts at the physical limit 5000.
    This patch does not rely on the entry returned by the DirySync search.
    
    Also, since DirSync search does not support the range subtype, removing
    the range related code from the DirSync search.
    
    Researched and tested by vashirov@redhat.com (Thank you, Viktor!!)
    Reviewed by rmeggins@redhat.com (Thank you, Rich!!)
    
    https://fedorahosted.org/389/ticket/48010
    (cherry picked from commit c6b211f8ea4970623f8ac1b365d040756d46bf3c)
    (cherry picked from commit d9af22eb940353c0692b6d73cc0a2d6998311498)