summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/group.py
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2010-11-10 17:30:01 -0500
committerRob Crittenden <rcritten@redhat.com>2010-11-12 17:25:40 -0500
commit25469cf4f115b5c8053e27b07d138876af75f895 (patch)
treef50191e2b6563daadca45ccefb101bcd860f245f /ipalib/plugins/group.py
parent42b82f09f349301ef0f7bfc82a2f89cec7311dd3 (diff)
downloadfreeipa-25469cf4f115b5c8053e27b07d138876af75f895.tar.gz
freeipa-25469cf4f115b5c8053e27b07d138876af75f895.tar.xz
freeipa-25469cf4f115b5c8053e27b07d138876af75f895.zip
Increase # of chars in users and groups to 255 and default username to 32.
ticket 434
Diffstat (limited to 'ipalib/plugins/group.py')
-rw-r--r--ipalib/plugins/group.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipalib/plugins/group.py b/ipalib/plugins/group.py
index aec5ce057..1994c010f 100644
--- a/ipalib/plugins/group.py
+++ b/ipalib/plugins/group.py
@@ -98,9 +98,9 @@ class group(LDAPObject):
takes_params = (
Str('cn',
- pattern='^[a-zA-Z0-9_.][a-zA-Z0-9_.-]{0,30}[a-zA-Z0-9_.$-]?$',
+ pattern='^[a-zA-Z0-9_.][a-zA-Z0-9_.-]{0,252}[a-zA-Z0-9_.$-]?$',
pattern_errmsg='may only include letters, numbers, _, -, . and $',
- maxlength=33,
+ maxlength=255,
cli_name='name',
label=_('Group name'),
primary_key=True,