summaryrefslogtreecommitdiffstats
path: root/ipalib
diff options
context:
space:
mode:
authorTomas Babej <tbabej@redhat.com>2014-06-16 17:33:12 +0200
committerPetr Viktorin <pviktori@redhat.com>2014-07-28 12:18:23 +0200
commite74307caa6daf1e7e261ff481f6c5b089df82f57 (patch)
tree755044870bb086c94952e02d60062d1721d86da7 /ipalib
parent8288135b5b218cd63d5f5bfba59f6d1f9657af2d (diff)
downloadfreeipa-e74307caa6daf1e7e261ff481f6c5b089df82f57.tar.gz
freeipa-e74307caa6daf1e7e261ff481f6c5b089df82f57.tar.xz
freeipa-e74307caa6daf1e7e261ff481f6c5b089df82f57.zip
ipalib: idrange: Make non-implemented range types fail the validation
The ipa-ipa-trust and ipa-ad-winsync ID Range types were allowed to pass the validation tests, however, they are not implemented nor checked by the 389 server plugin. https://fedorahosted.org/freeipa/ticket/4323 Reviewed-By: Jan Cholasta <jcholast@redhat.com>
Diffstat (limited to 'ipalib')
-rw-r--r--ipalib/plugins/idrange.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/ipalib/plugins/idrange.py b/ipalib/plugins/idrange.py
index 8ffe7bf9a..9e0481e94 100644
--- a/ipalib/plugins/idrange.py
+++ b/ipalib/plugins/idrange.py
@@ -185,13 +185,14 @@ class idrange(LDAPObject):
label = _('ID Ranges')
label_singular = _('ID Range')
+ # The commented range types are planned but not yet supported
range_types = {
u'ipa-local': unicode(_('local domain range')),
- u'ipa-ad-winsync': unicode(_('Active Directory winsync range')),
+ # u'ipa-ad-winsync': unicode(_('Active Directory winsync range')),
u'ipa-ad-trust': unicode(_('Active Directory domain range')),
u'ipa-ad-trust-posix': unicode(_('Active Directory trust range with '
'POSIX attributes')),
- u'ipa-ipa-trust': unicode(_('IPA trust range')),
+ # u'ipa-ipa-trust': unicode(_('IPA trust range')),
}
takes_params = (