URL: https://github.com/freeipa/freeipa/pull/1473
Author: stlaz
 Title: #1473: replica_prepare: Remove the correct NSS DB files
Action: opened

PR body:
"""
Mistake in recent fixes made the ipa-replica-prepare include
some extra files in the info file should the legacy format of
NSS databases be used.
"""

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/1473/head:pr1473
git checkout pr1473
From ad04c321ea19b5aedd6018d54b941109ca0ecbf8 Mon Sep 17 00:00:00 2001
From: Stanislav Laznicka <slazn...@redhat.com>
Date: Tue, 16 Jan 2018 13:09:33 +0100
Subject: [PATCH] replica_prepare: Remove the correct NSS DB files

Mistake in recent fixes made the ipa-replica-prepare include
some extra files in the info file should the legacy format of
NSS databases be used.
---
 ipaserver/install/ipa_replica_prepare.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ipaserver/install/ipa_replica_prepare.py b/ipaserver/install/ipa_replica_prepare.py
index 6872cefec1..80578c3903 100644
--- a/ipaserver/install/ipa_replica_prepare.py
+++ b/ipaserver/install/ipa_replica_prepare.py
@@ -569,7 +569,7 @@ def export_certdb(self, fname, passwd_fname):
                 installutils.remove_file(pkcs12_fname)
                 installutils.remove_file(passwd_fname)
 
-            for fname in (certdb.NSS_SQL_FILES + certdb.NSS_SQL_FILES):
+            for fname in (certdb.NSS_DBM_FILES + certdb.NSS_SQL_FILES):
                 self.remove_info_file(fname)
             self.remove_info_file("noise.txt")
 
_______________________________________________
FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org
To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org

Reply via email to