mreynolds / 389-ds-base

Forked from 389-ds-base 6 years ago
Clone

bded301 Ticket #47530 - dbscan on entryrdn should show all matching values

Authored and Committed by nhosoi 10 years ago
    Ticket #47530 - dbscan on entryrdn should show all matching values
    
    Bug description:
    1. When the key format of entryrdn was updated (eliminated ':'
       from the key), the dbscan was not updated.
    2. If a key is passed with -k option and if the key has multiple
       values, only the first one was printed.
    
    Fix description:
    1. The key format is adjusted to the entryrdn code.
    2. Multi-valued key is supported.
    
    Usage:
    dbscan -f entryrdn.db
      Scan entryrdn based on the order of the key (oid - 1,2,...,
      Coid - C1,C2,..., Poid - P1,P2,...).
    dbscan -f engryrdn.db -k key
      where the key could be "suffix" or key (oid, Coid, Poid)
      The scan starts from the item of the key and traverses its
      descendants.
    
    https://fedorahosted.org/389/ticket/47530
    
    Reviewed by rmeggins (Thank you, Rich!!)