f19f279 Ticket 50151 - lib389 support cli add/replace/delete on objects

Authored and Committed by firstyear 5 years ago
    Ticket 50151 - lib389 support cli add/replace/delete on objects
    
    Bug Description: We need a generic way to add/replace/delete on
    objects, that is not ldif. Ldif is wildly inaccessible and hard
    to use.
    
    Fix Description: Add a "modify" generic to cli_base, that is
    used by user. It supports a syntax of:
    
    modify <selector> <add|replace|delete>:<attr>:<value>
    
    An example is:
    
    ... user modify demo_user add:objectclass:nsMemberOf
    
    These can have many modifications in a single transaction:
    
    user modify demo_user add:objectclass:nsMemberOf add:description:test
    
    https://pagure.io/389-ds-base/issue/50151
    
    Author: William Brown <william@blackhats.net.au>
    
    Review by: spichugi, mreynolds, lkrispen (Thanks!)