summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/config.py
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2012-08-01 16:14:11 +0200
committerMartin Kosek <mkosek@redhat.com>2012-08-01 16:15:51 +0200
commitfb817d340139822d17414da93853be5bc3bf6086 (patch)
tree4f086f792a9e776b71e36fcc5c693e3df1e687a2 /ipalib/plugins/config.py
parentfd31396d5129b1980d3ce979af7239f16d3f6fc5 (diff)
downloadfreeipa.git-fb817d340139822d17414da93853be5bc3bf6086.tar.gz
freeipa.git-fb817d340139822d17414da93853be5bc3bf6086.tar.xz
freeipa.git-fb817d340139822d17414da93853be5bc3bf6086.zip
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
Diffstat (limited to 'ipalib/plugins/config.py')
-rw-r--r--ipalib/plugins/config.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/ipalib/plugins/config.py b/ipalib/plugins/config.py
index d632e2ed..9573bbb6 100644
--- a/ipalib/plugins/config.py
+++ b/ipalib/plugins/config.py
@@ -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):