URL: https://github.com/freeipa/freeipa/pull/1364
Author: flo-renaud
 Title: #1364: Improve help message for ipa trust-add --range-type
Action: opened

PR body:
"""
Add the correct procedure for re-running ipa trust-add with a different
range type.

Fixes:
https://pagure.io/freeipa/issue/7308
"""

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/1364/head:pr1364
git checkout pr1364
From f8f90bd164420a5b8cfe6385b648b91aa7a8c354 Mon Sep 17 00:00:00 2001
From: Florence Blanc-Renaud <f...@redhat.com>
Date: Wed, 6 Dec 2017 17:26:24 +0100
Subject: [PATCH] Improve help message for ipa trust-add --range-type

Add the correct procedure for re-running ipa trust-add with a different
range type.

Fixes:
https://pagure.io/freeipa/issue/7308
---
 ipaserver/plugins/trust.py | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/ipaserver/plugins/trust.py b/ipaserver/plugins/trust.py
index 0ef290ce6a..baf76ae881 100644
--- a/ipaserver/plugins/trust.py
+++ b/ipaserver/plugins/trust.py
@@ -656,6 +656,11 @@ class trust_add(LDAPCreate):
 The command can be safely run multiple times against the same domain,
 this will cause change to trust relationship credentials on both
 sides.
+
+Note that if the command was previously run with a specific range type,
+or with automatic detection of the range type, and you want to configure a
+different range type, you may need to delete first the ID range using
+ipa idrange-del before retrying the command with the desired range type.
     ''')
 
     range_types = {
_______________________________________________
FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org
To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org

Reply via email to