From ecf2b252c015fde2ab6c1311e9c85bb2e27ca00a Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Mon, 3 Jan 2011 15:11:43 -0500 Subject: Don't allow a user's uid to be set to 0. ticket 578 --- ipalib/plugins/user.py | 1 + 1 file changed, 1 insertion(+) (limited to 'ipalib/plugins/user.py') diff --git a/ipalib/plugins/user.py b/ipalib/plugins/user.py index 9ccd216d..f1686291 100644 --- a/ipalib/plugins/user.py +++ b/ipalib/plugins/user.py @@ -158,6 +158,7 @@ class user(LDAPObject): doc=_('User ID Number (system will assign one if not provided)'), autofill=True, default=999, + minvalue=1, ), Int('gidnumber?', label=_('GID'), -- cgit