On 10/07/15 07:29, Jan Cholasta wrote:
Hi,

Dne 9.7.2015 v 17:21 Martin Basti napsal(a):
https://fedorahosted.org/freeipa/ticket/5074

Patch attached.

NACK, you should remove the --rename option from certprofile-mod. You can do it by removing "rdn_is_primary_key = True" from certprofile.

Honza

Updated patch attached.

--
Martin Basti

From e395e3488fbd0eb80adbd2b3f9cbb82be331e5d9 Mon Sep 17 00:00:00 2001
From: Martin Basti <mba...@redhat.com>
Date: Thu, 9 Jul 2015 17:17:21 +0200
Subject: [PATCH] Prevent to rename certprofile profile id

https://fedorahosted.org/freeipa/ticket/5074
---
 ipalib/plugins/certprofile.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/ipalib/plugins/certprofile.py b/ipalib/plugins/certprofile.py
index 6f9a41875b2a276b521219156e630817a9c41fdc..f8091a8e87038fe4ffed3f20f434873df8c1e992 100644
--- a/ipalib/plugins/certprofile.py
+++ b/ipalib/plugins/certprofile.py
@@ -92,7 +92,6 @@ class certprofile(LDAPObject):
     search_attributes = [
         'cn', 'description', 'ipacertprofilestoreissued'
     ]
-    rdn_is_primary_key = True
     label = _('Certificate Profiles')
     label_singular = _('Certificate Profile')
 
-- 
2.4.3

-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

Reply via email to