Increase # of chars in users and groups to 255 and default username to 32.

ticket 434
This commit is contained in:
Rob Crittenden
2010-11-10 17:30:01 -05:00
parent 42b82f09f3
commit 25469cf4f1
3 changed files with 5 additions and 5 deletions

View File

@@ -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,