[Freeipa-devel] [PATCH] 0087 Warn about DNA plugin configuration when working with local ID ranges

Alexander Bokovoy abokovoy at redhat.com
Wed Oct 10 07:51:11 UTC 2012


Warn about manual DNA plugin configuration when working with local ID ranges
since we currently do not support automatic pick up of the changed
settings for local ID ranges by the DNA plugin.
     
https://fedorahosted.org/freeipa/ticket/3116


-- 
/ Alexander Bokovoy
-------------- next part --------------
>From 2c98296a26b2176d2ae07257078a1fd460dd90ec Mon Sep 17 00:00:00 2001
From: Alexander Bokovoy <abokovoy at redhat.com>
Date: Wed, 10 Oct 2012 10:03:40 +0300
Subject: [PATCH 4/5] Warn about DNA plugin configuration when working with
 local ID ranges

https://fedorahosted.org/freeipa/ticket/3116
---
 ipalib/plugins/idrange.py | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/ipalib/plugins/idrange.py b/ipalib/plugins/idrange.py
index 8f2d4efdc0463e7d81cd72fba7769e38dc0c638b..ef712de4f8663f374097eb737a5f4c71097b61f6 100644
--- a/ipalib/plugins/idrange.py
+++ b/ipalib/plugins/idrange.py
@@ -111,7 +111,6 @@ Typically the creation of ID ranges happens behind the scenes and this CLI
 must not be used at all. The ID range for the local domain will be created
 during installation or upgrade from an older version. The ID range for a
 trusted domain will be created together with the trust by 'ipa trust-add ...'.
-The use cases for this CLI are
 
 USE CASES:
 
@@ -141,6 +140,15 @@ the domain SID. E.g. if the domain SID is S-1-5-21-123-456-789 and a user from
 this domain has the SID S-1-5-21-123-456-789-1010 then 1010 id the RID of the
 user. RIDs are unique in a domain, 32bit values and are used for users and
 groups.
+
+WARNING:
+
+DNA plugin in 389-ds will allocate IDs based on the ranges configured for the
+local domain. Currently the DNA plugin *cannot* be reconfigured itself based
+on the local ranges set via this family of commands.
+
+Manual configuration change has to be done in the DNA plugin configuration to
+match with the new range.
 """)
 
 class idrange(LDAPObject):
-- 
1.7.12



More information about the Freeipa-devel mailing list