mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Don't allow a user's uid to be set to 0.
ticket 578
This commit is contained in:
@@ -158,6 +158,7 @@ class user(LDAPObject):
|
|||||||
doc=_('User ID Number (system will assign one if not provided)'),
|
doc=_('User ID Number (system will assign one if not provided)'),
|
||||||
autofill=True,
|
autofill=True,
|
||||||
default=999,
|
default=999,
|
||||||
|
minvalue=1,
|
||||||
),
|
),
|
||||||
Int('gidnumber?',
|
Int('gidnumber?',
|
||||||
label=_('GID'),
|
label=_('GID'),
|
||||||
|
|||||||
Reference in New Issue
Block a user