Hi,

the attached patch fixes <https://fedorahosted.org/freeipa/ticket/4775>.

Honza

--
Jan Cholasta
>From 08c42b93a01b72a0e0733109e72958cbaaa9c8c1 Mon Sep 17 00:00:00 2001
From: Jan Cholasta <jchol...@redhat.com>
Date: Wed, 3 Dec 2014 09:12:18 +0000
Subject: [PATCH] Fix stop_tracking_certificates call in ipa-restore

CAInstance.stop_tracking_certificates() no longer has dogtag_constants
argument.

https://fedorahosted.org/freeipa/ticket/4775
---
 ipaserver/install/ipa_restore.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/ipaserver/install/ipa_restore.py b/ipaserver/install/ipa_restore.py
index b3c519e..45fb229 100644
--- a/ipaserver/install/ipa_restore.py
+++ b/ipaserver/install/ipa_restore.py
@@ -26,7 +26,7 @@ import pwd
 from ConfigParser import SafeConfigParser
 
 from ipalib import api, errors
-from ipapython import version, ipautil, certdb, dogtag
+from ipapython import version, ipautil, certdb
 from ipapython.ipautil import run, user_input
 from ipapython import admintool
 from ipapython.dn import DN
@@ -675,8 +675,7 @@ class Restore(admintool.AdminTool):
             self.log.error('%s', e)
 
     def cert_restore_prepare(self):
-        cainstance.CAInstance().stop_tracking_certificates(
-            dogtag.configured_constants())
+        cainstance.CAInstance().stop_tracking_certificates()
         httpinstance.HTTPInstance().stop_tracking_certificates()
         dsinstance.DsInstance().stop_tracking_certificates(
             realm_to_serverid(api.env.realm))
-- 
2.1.0

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to