Add per-service option to store the types of PAC it supports

Create a per-service default as well.

https://fedorahosted.org/freeipa/ticket/2184
This commit is contained in:
Rob Crittenden
2012-08-01 16:14:11 +02:00
committed by Martin Kosek
parent fd31396d51
commit fb817d3401
10 changed files with 64 additions and 11 deletions

View File

@@ -90,7 +90,7 @@ class config(LDAPObject):
'ipasearchrecordslimit', 'ipausersearchfields', 'ipagroupsearchfields',
'ipamigrationenabled', 'ipacertificatesubjectbase',
'ipapwdexpadvnotify', 'ipaselinuxusermaporder',
'ipaselinuxusermapdefault', 'ipaconfigstring',
'ipaselinuxusermapdefault', 'ipaconfigstring', 'ipakrbauthzdata',
]
label = _('Configuration')
@@ -189,6 +189,13 @@ class config(LDAPObject):
label=_('Default SELinux user'),
doc=_('Default SELinux user when no match is found in SELinux map rule'),
),
StrEnum('ipakrbauthzdata*',
cli_name='pac_type',
label=_('PAC type'),
doc=_('Default types of PAC for new services'),
values=(u'MS-PAC', u'PAD'),
csv=True,
),
)
def get_dn(self, *keys, **kwargs):