493a664 Ticket 50787 - fix implementation of attr unique

1 file Authored by firstyear 4 years ago, Committed by firstyear 4 years ago,
    Ticket 50787 - fix implementation of attr unique
    
    Bug Description: The implementation of attribute unique relies
    on a "plugin per config" which is different to most other
    handlings. This creates an exception case to the standard
    plugin framework in lib389 that was not correctly handled
    in the CLI.
    
    Fix Description: Fix the cli to have the correct customised
    variants of the commands to support this plugin's behaviour.
    
    > dsconf localhost plugin attr-uniq status uid-test
    Plugin 'uid-test' is disabled
    > dsconf localhost plugin attr-uniq enable uid-test
    Successfully enabled the cn=uid-test,cn=plugins,cn=config
    > dsconf localhost plugin attr-uniq enable uid-test
    Plugin 'uid-test' already enabled
    > dsconf localhost plugin attr-uniq status uid-test
    Plugin 'uid-test' is enabled
    > dsconf localhost plugin attr-uniq disable uid-test
    Successfully disabled the cn=uid-test,cn=plugins,cn=config
    > dsconf localhost plugin attr-uniq disable uid-test
    Plugin 'uid-test' already disabled
    
    https://pagure.io/389-ds-base/issue/50787
    
    Author: William Brown <william@blackhats.net.au>
    
    Review by: ???