290e6c0 Replica promotion: use the correct IPA domain for replica

Authored and Committed by mbasti 7 years ago
    Replica promotion: use the correct IPA domain for replica
    
    IPA domain is detected from LDAP for replica promote installation.
    If local domain and IPA domain does not match, installer refuses
    to install replica.
    
    IPA versions 4.3.0 and 4.3.1 allow to specify different domain for
    replica. Only one IPA domain is allowed (domain used with master)
    and different domain may cause issues.
    
    This commit prevents to install new replica if multiple domains was
    used in past. User action is required to fix this issue and remove
    incorrect IPA domains from LDAP.
    
    https://fedorahosted.org/freeipa/ticket/5976
    
    Reviewed-By: Petr Spacek <pspacek@redhat.com>