f12f831 upgrade: fix config of sidgen and extdom plugins

Authored and Committed by mbasti 3 years ago
    upgrade: fix config of sidgen and extdom plugins
    
    During upgrade to IPA 4.2, literally "$SUFFIX" value was added to
    configuration of sidgen and extdom plugins. This cause that SID are not properly configured.
    
    Upgrade must fix "$SUFFIX" to reals suffix DN, and run sidgen task
    against IPA domain (if exists).
    
    All trusts added when plugins configuration was broken must be re-added.
    
    https://fedorahosted.org/freeipa/ticket/5665
    
    Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
    Reviewed-By: Tomas Babej <tbabej@redhat.com>