diff options
author | Abhijeet Kasurde <akasurde@redhat.com> | 2017-01-30 19:22:12 +0530 |
---|---|---|
committer | Martin Basti <mbasti@redhat.com> | 2017-02-17 12:19:37 +0100 |
commit | c913f810715705c560ae8bd05a33084785f59583 (patch) | |
tree | fe91676252fc072fb58fe0b945ffe2b972643dc5 | |
parent | 53c8e9a53f026d83d5328896d1ea0cf72690cf24 (diff) | |
download | freeipa-c913f810715705c560ae8bd05a33084785f59583.tar.gz freeipa-c913f810715705c560ae8bd05a33084785f59583.tar.xz freeipa-c913f810715705c560ae8bd05a33084785f59583.zip |
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>
-rw-r--r-- | ipaserver/install/server/replicainstall.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ipaserver/install/server/replicainstall.py b/ipaserver/install/server/replicainstall.py index 0d3a69f2e..84e86a9bc 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" % |