cgrzemba / 389-ds-base

Forked from 389-ds-base 5 years ago
Clone

69fd1f1 Ticket #48223 - Winsync fails when AD users have multiple spaces (two)inside the value of the rdn attribute

Authored and Committed by nhosoi 8 years ago
    Ticket #48223 - Winsync fails when AD users have multiple spaces (two)inside the value of the rdn attribute
    
    Description: When the dirsync search returns a remote entry, winsync
    search the entry with DN to retrieve the whole attribute value pairs.
    The DN used for the search was normalized which replaced multiple white-
    spaces with one in the DN.  This patch does not used the normalized DN,
    but the same DN given by AD.
    
    The DN normalization behaviour was introduced to fix a ticket #529 -
    dn normalization must handle multiple space characters in attributes.
    
    Added additional debugging to get the info which entry failed to sync.
    
    https://fedorahosted.org/389/ticket/48223
    
    Reviewed by rmeggins@redhat.com (Thank you, Rich!!)
    
    (cherry picked from commit 2c484cc6e89e473bced0e9b25dd6e68d53024bb3)