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.

https://pagure.io/freeipa/issue/7049

Reviewed-By: Christian Heimes <cheimes@redhat.com>
This commit is contained in:
Stanislav Laznicka
2018-01-16 13:09:33 +01:00
parent f0c0a14ec1
commit cd83afcd4b

View File

@@ -569,7 +569,7 @@ class ReplicaPrepare(admintool.AdminTool):
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")