https://fedorahosted.org/freeipa/ticket/5774
Patch attached.
From c032c8e581a26a4d36b40cf2b60756c3394d2024 Mon Sep 17 00:00:00 2001 From: Martin Basti <[email protected]> Date: Thu, 14 Apr 2016 17:03:51 +0200 Subject: [PATCH] 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 --- ipalib/plugins/config.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ipalib/plugins/config.py b/ipalib/plugins/config.py index 848b41e7b23658010195b782144064a21d695894..e7b6e791ca994c1fe9ceb0b21339fa9fced1b0e2 100644 --- a/ipalib/plugins/config.py +++ b/ipalib/plugins/config.py @@ -128,6 +128,7 @@ class config(LDAPObject): cli_name='maxusername', label=_('Maximum username length'), minvalue=1, + maxvalue=255, ), IA5Str('ipahomesrootdir', cli_name='homedirectory', -- 2.5.5
-- Manage your subscription for the Freeipa-devel mailing list: https://www.redhat.com/mailman/listinfo/freeipa-devel Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code
