Limit max username length to 255 in config-mod

This value is same as is used in user and stageuser commands.

https://fedorahosted.org/freeipa/ticket/5774

Reviewed-By: David Kupka <dkupka@redhat.com>
This commit is contained in:
Martin Basti
2016-04-14 17:03:51 +02:00
parent 6468a39850
commit 93871bf017

View File

@@ -128,6 +128,7 @@ class config(LDAPObject):
cli_name='maxusername',
label=_('Maximum username length'),
minvalue=1,
maxvalue=255,
),
IA5Str('ipahomesrootdir',
cli_name='homedirectory',