0d1c21b Ticket #48410 - 389-ds-base - Unable to remove / unregister a DS instance from admin server

Authored and Committed by nhosoi 7 years ago
    Ticket #48410 - 389-ds-base - Unable to remove / unregister a DS instance from admin server
    
    Description: In check_and_add_entry (DSUtil.pm), if the operation is delete,
    $subentry is exhausted.  Thus, the do loop should be finished there without
    calling $conn->nextEntry(), which causes the assertion failure in perl-Mozilla-
    LDAP.
    
    https://fedorahosted.org/389/ticket/48410
    
    Reviewed by mreynolds@redhat.com (Thank you, Mark!!)