ed001c9 ipa config: add --enable-sid option

Authored and Committed by frenaud 2 years ago
    ipa config: add --enable-sid option
    
    Add new options to ipa config-mod, allowing to enable
    SID generation on upgraded servers:
    ipa config-mod --enable-sid --add-sids --netbios-name NAME
    
    The new option uses Dbus to launch an oddjob command,
    org.freeipa.server.config-enable-sid
    that runs the installation steps related to SID generation.
    
    --add-sids is optional and triggers the sid generation task that
    populates SID for existing users / groups.
    --netbios-name is optional and allows to specify the NetBIOS Name.
    When not provided, the NetBIOS name is generated based on the leading
    component of the DNS domain name.
    
    This command can be run multiple times.
    
    Fixes: https://pagure.io/freeipa/issue/8995
    Signed-off-by: Florence Blanc-Renaud <flo@redhat.com>
    Reviewed-By: Christian Heimes <cheimes@redhat.com>
    Reviewed-By: Rob Crittenden <rcritten@redhat.com>
    Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
    
        
file modified
+4 -1
file modified
+2 -2
file modified
+1 -0
file modified
+2 -0
file modified
+1 -0
file modified
+97 -2
file modified
+2 -0
file modified
+3 -0