ac7d03
From 095e8387572432749cf4231f7af67b9d5b597440 Mon Sep 17 00:00:00 2001
ac7d03
From: Martin Babinsky <mbabinsk@redhat.com>
ac7d03
Date: Fri, 12 May 2017 15:27:36 +0200
ac7d03
Subject: [PATCH] Add the list of PKINIT servers as a virtual attribute to
ac7d03
 global config
ac7d03
ac7d03
https://pagure.io/freeipa/issue/6937
ac7d03
ac7d03
Reviewed-By: Jan Cholasta <jcholast@redhat.com>
ac7d03
Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
ac7d03
---
ac7d03
 ipaserver/plugins/config.py | 6 ++++++
ac7d03
 1 file changed, 6 insertions(+)
ac7d03
ac7d03
diff --git a/ipaserver/plugins/config.py b/ipaserver/plugins/config.py
ac7d03
index c88cb99b47ac746f8e18cf189708d457b535416a..df6bd466afa937be96722a570385fb5b3419830d 100644
ac7d03
--- a/ipaserver/plugins/config.py
ac7d03
+++ b/ipaserver/plugins/config.py
ac7d03
@@ -256,6 +256,12 @@ class config(LDAPObject):
ac7d03
             flags={'virtual_attribute', 'no_create'}
ac7d03
         ),
ac7d03
         Str(
ac7d03
+            'pkinit_server_server*',
ac7d03
+            label=_('IPA master capable of PKINIT'),
ac7d03
+            doc=_('IPA master which can process PKINIT requests'),
ac7d03
+            flags={'virtual_attribute', 'no_create', 'no_update'}
ac7d03
+        ),
ac7d03
+        Str(
ac7d03
             'ipadomainresolutionorder?',
ac7d03
             cli_name='domain_resolution_order',
ac7d03
             label=_('Domain resolution order'),
ac7d03
-- 
ac7d03
2.9.4
ac7d03