mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-25 08:21:05 -06:00
Increase # of chars in users and groups to 255 and default username to 32.
ticket 434
This commit is contained in:
parent
42b82f09f3
commit
25469cf4f1
@ -191,7 +191,7 @@ ipaSearchRecordsLimit: 100
|
|||||||
ipaHomesRootDir: /home
|
ipaHomesRootDir: /home
|
||||||
ipaDefaultLoginShell: /bin/sh
|
ipaDefaultLoginShell: /bin/sh
|
||||||
ipaDefaultPrimaryGroup: ipausers
|
ipaDefaultPrimaryGroup: ipausers
|
||||||
ipaMaxUsernameLength: 8
|
ipaMaxUsernameLength: 32
|
||||||
ipaPwdExpAdvNotify: 4
|
ipaPwdExpAdvNotify: 4
|
||||||
ipaGroupObjectClasses: top
|
ipaGroupObjectClasses: top
|
||||||
ipaGroupObjectClasses: groupofnames
|
ipaGroupObjectClasses: groupofnames
|
||||||
|
@ -98,9 +98,9 @@ class group(LDAPObject):
|
|||||||
|
|
||||||
takes_params = (
|
takes_params = (
|
||||||
Str('cn',
|
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 $',
|
pattern_errmsg='may only include letters, numbers, _, -, . and $',
|
||||||
maxlength=33,
|
maxlength=255,
|
||||||
cli_name='name',
|
cli_name='name',
|
||||||
label=_('Group name'),
|
label=_('Group name'),
|
||||||
primary_key=True,
|
primary_key=True,
|
||||||
|
@ -78,9 +78,9 @@ class user(LDAPObject):
|
|||||||
|
|
||||||
takes_params = (
|
takes_params = (
|
||||||
Str('uid',
|
Str('uid',
|
||||||
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 $',
|
pattern_errmsg='may only include letters, numbers, _, -, . and $',
|
||||||
maxlength=33,
|
maxlength=255,
|
||||||
cli_name='login',
|
cli_name='login',
|
||||||
label=_('User login'),
|
label=_('User login'),
|
||||||
primary_key=True,
|
primary_key=True,
|
||||||
|
Loading…
Reference in New Issue
Block a user