mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Check configured maximum user login length on user rename.
ticket 2587
This commit is contained in:
committed by
Rob Crittenden
parent
7471ba2237
commit
dcea80fc17
@@ -685,6 +685,13 @@ class test_user(Declarative):
|
||||
),
|
||||
|
||||
|
||||
dict(
|
||||
desc='Try to rename to a username that is too long %r' % user1,
|
||||
command=('user_mod', [user1], dict(rename=invaliduser2)),
|
||||
expected=errors.ValidationError(name='uid', error='can be at most 33 characters'),
|
||||
),
|
||||
|
||||
|
||||
dict(
|
||||
desc='Create %r' % group1,
|
||||
command=(
|
||||
|
||||
Reference in New Issue
Block a user