summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'ipalib/plugins')
-rw-r--r--ipalib/plugins/topology.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/ipalib/plugins/topology.py b/ipalib/plugins/topology.py
index 2c54bbc4d..40f9fa803 100644
--- a/ipalib/plugins/topology.py
+++ b/ipalib/plugins/topology.py
@@ -5,7 +5,7 @@
import six
from ipalib import api, errors
-from ipalib import Int, Str, Bool, StrEnum, Flag
+from ipalib import Int, Str, Bool, StrEnum, Flag, DNParam
from ipalib.plugable import Registry
from ipalib.plugins.baseldap import (
LDAPObject, LDAPSearch, LDAPCreate, LDAPDelete, LDAPUpdate, LDAPQuery,
@@ -342,12 +342,10 @@ class topologysuffix(LDAPObject):
primary_key=True,
label=_('Suffix name'),
),
- Str(
+ DNParam(
'iparepltopoconfroot',
- maxlength=255,
- cli_name='suffix',
- label=_('LDAP suffix to be managed'),
- normalizer=lambda value: value.lower(),
+ cli_name='suffix_dn',
+ label=_('Managed LDAP suffix DN'),
),
)