mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-11-02 20:30:26 -06:00
Enable service authentication indicator management
https://fedorahosted.org/freeipa/ticket/433 Reviewed-By: Petr Vobornik <pvoborni@redhat.com> Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
1 parent
5f7433839f
commit
4ded2ffc16
3 files changed
+17
-6
No files matched your search
@@ -411,7 +411,7 @@ class service(LDAPObject):
|
||||
permission_filter_objectclasses = ['ipaservice']
|
||||
search_attributes = ['krbprincipalname', 'managedby', 'ipakrbauthzdata']
|
||||
default_attributes = ['krbprincipalname', 'usercertificate', 'managedby',
|
||||
'ipakrbauthzdata', 'memberof', 'ipaallowedtoperform']
|
||||
'ipakrbauthzdata', 'memberof', 'ipaallowedtoperform', 'krbprincipalauthind']
|
||||
uuid_attribute = 'ipauniqueid'
|
||||
attribute_members = {
|
||||
'managedby': ['host'],
|
||||
@@ -505,6 +505,14 @@ class service(LDAPObject):
|
||||
" e.g. this might be necessary for NFS services."),
|
||||
values=(u'MS-PAC', u'PAD', u'NONE'),
|
||||
),
|
||||
Str('krbprincipalauthind*',
|
||||
cli_name='auth_ind',
|
||||
label=_('Authentication Indicators'),
|
||||
doc=_("Defines a whitelist for Authentication Indicators."
|
||||
" Use 'otp' to allow OTP-based 2FA authentications."
|
||||
" Use 'radius' to allow RADIUS-based 2FA authentications."
|
||||
" Other values may be used for custom configurations."),
|
||||
),
|
||||
) + ticket_flags_params
|
||||
|
||||
def validate_ipakrbauthzdata(self, entry):
|
||||
|
||||
Reference in new issue
Block a user