d223a74 Add --delattr option to complement --setattr/--addattr

6 files Authored by mkosek 12 years ago, Committed by simo 12 years ago,
    Add --delattr option to complement --setattr/--addattr
    
    Add a --delattr option to round out multi-valued attribute
    manipulation. The new option is available for all LDAPUpdate based
    commands. --delattr is evaluated last, it can remove any value
    present either in --addattr/--setattr option or in current LDAP
    object.
    
    --*attr processing was completely refactored and placed to one
    independent function available for all baseldap commands. For this
    purpose a missing common base class for all baseldap commands has
    been implemented. The new class should serve not only for --*attr
    processing but also for other common baseldap methods and
    attributes.
    
    This approach will also benefit other custom commands based neither
    on LDAPCreate nor LDAPUpdate. They can easily integrate --*attr
    option processing when needed.
    
    https://fedorahosted.org/freeipa/ticket/1929
    
        
file modified
+89 -67
file modified
+1 -1
file modified
+1 -61
file modified
+174 -61
file modified
+124 -2