pgreco / rpms / ipa

Forked from forks/areguera/rpms/ipa 4 years ago
Clone

Blame SOURCES/0166-Add-the-list-of-PKINIT-servers-as-a-virtual-attribut.patch

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