summaryrefslogtreecommitdiffstats
path: root/ipalib/constants.py
diff options
context:
space:
mode:
authorMartin Kosek <mkosek@redhat.com>2012-07-11 16:13:25 +0200
committerMartin Kosek <mkosek@redhat.com>2012-07-13 16:18:39 +0200
commit378238b14e9faec4b871ff0178aa78e62e9b3580 (patch)
treecb8329bb7d71e6dd4ea7d0d222f5bdfdd5198b8a /ipalib/constants.py
parent34f8ff47932c49ab3a2b19a64c84b7d3ae0b514a (diff)
downloadfreeipa.git-378238b14e9faec4b871ff0178aa78e62e9b3580.tar.gz
freeipa.git-378238b14e9faec4b871ff0178aa78e62e9b3580.tar.xz
freeipa.git-378238b14e9faec4b871ff0178aa78e62e9b3580.zip
Warn user if an ID range with incorrect size was created
IPA 3.0 introduced range ID objects in replicated space which specify a range of IDs assigned via DNA plugin. ipa-ldap-updater generates the default ID range which should correspond with IDs assigned to IPA users. However, since correct range size is not known, we should at least warn that a range with invalid size was created so that user can amend it. https://fedorahosted.org/freeipa/ticket/2892
Diffstat (limited to 'ipalib/constants.py')
-rw-r--r--ipalib/constants.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ipalib/constants.py b/ipalib/constants.py
index ad6d1886..f0f89a3b 100644
--- a/ipalib/constants.py
+++ b/ipalib/constants.py
@@ -105,6 +105,8 @@ DEFAULT_CONFIG = (
('container_trusts', 'cn=trusts'),
('container_adtrusts', 'cn=ad,cn=trusts'),
('container_ranges', 'cn=ranges,cn=etc'),
+ ('container_dna', 'cn=dna,cn=ipa,cn=etc'),
+ ('container_dna_posix_ids', 'cn=posix-ids,cn=dna,cn=ipa,cn=etc'),
# Ports, hosts, and URIs:
# FIXME: let's renamed xmlrpc_uri to rpc_xml_uri