mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-10-24 14:17:41 -05:00
Allow dot as a valid character in an selinux identity name
Both of these are legal: unconfined_u and unconfined.u https://pagure.io/freeipa/issue/7510 Signed-off-by: Rob Crittenden <rcritten@redhat.com> Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com> Reviewed-By: Christian Heimes <cheimes@redhat.com>
This commit is contained in:
1 parent
6c4635e779
commit
9d73e4a0f1
2 files changed
+8
-6
No files matched your search
@@ -620,9 +620,11 @@ class test_selinuxusermap(Declarative):
|
||||
command=(
|
||||
'selinuxusermap_add', [rule1], dict(ipaselinuxuser=u'bad+user')
|
||||
),
|
||||
expected=errors.ValidationError(name='selinuxuser',
|
||||
error=u'Invalid SELinux user name, only a-Z and _ are allowed'
|
||||
),
|
||||
expected=errors.ValidationError(
|
||||
name='selinuxuser',
|
||||
error=u'Invalid SELinux user name, only a-Z, _ '
|
||||
'and . are allowed'
|
||||
),
|
||||
),
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user