From c913f810715705c560ae8bd05a33084785f59583 Mon Sep 17 00:00:00 2001 From: Abhijeet Kasurde Date: Feb 17 2017 11:19:37 +0000 Subject: 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 Reviewed-By: Stanislav Laznicka Reviewed-By: Martin Basti --- diff --git a/ipaserver/install/server/replicainstall.py b/ipaserver/install/server/replicainstall.py index 0d3a69f..84e86a9 100644 --- a/ipaserver/install/server/replicainstall.py +++ b/ipaserver/install/server/replicainstall.py @@ -1245,7 +1245,11 @@ def promote_check(installer): except errors.ACIError: 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: root_logger.debug(traceback.format_exc()) raise ScriptError("\nUnable to connect to LDAP server %s" %