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 committed 2016-04-15 13:24:34 +02:00
1 parent 6468a39850
commit 93871bf017
1 file changed
+1
+1
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',