Update warning message for replica install

New warning message in replica install describes more about
"insufficient privilege" error

Fixes https://fedorahosted.org/freeipa/ticket/6352

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
Reviewed-By: Martin Basti <mbasti@redhat.com>
This commit is contained in:
Abhijeet Kasurde 2017-01-30 19:22:12 +05:30 committed by Martin Basti
parent 53c8e9a53f
commit c913f81071

View File

@ -1245,7 +1245,11 @@ def promote_check(installer):
except errors.ACIError: except errors.ACIError:
root_logger.debug(traceback.format_exc()) root_logger.debug(traceback.format_exc())
raise ScriptError("\nInsufficient privileges to promote the server.") raise ScriptError("\nInsufficient privileges to promote the server."
"\nPossible issues:"
"\n- A user has insufficient privileges"
"\n- This client has insufficient privileges "
"to become an IPA replica")
except errors.LDAPError: except errors.LDAPError:
root_logger.debug(traceback.format_exc()) root_logger.debug(traceback.format_exc())
raise ScriptError("\nUnable to connect to LDAP server %s" % raise ScriptError("\nUnable to connect to LDAP server %s" %