From f42da4357eac7e64e803b53c78d6cff9175d20a4 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Fri, 23 Sep 2011 11:46:59 -0400 Subject: Always require SSL in the Kerberos authorization block. This also corrects a slight bug where if add is True then we always re-update the file. https://fedorahosted.org/freeipa/ticket/1755 --- install/tools/ipa-upgradeconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'install/tools') diff --git a/install/tools/ipa-upgradeconfig b/install/tools/ipa-upgradeconfig index 1b08382e4..cae0964d5 100644 --- a/install/tools/ipa-upgradeconfig +++ b/install/tools/ipa-upgradeconfig @@ -116,7 +116,7 @@ def upgrade(sub_dict, filename, template, add=False): if new < 0: print "%s not found." % template - if old < new or add: + if old < new: backup_file(filename, new) update_conf(sub_dict, filename, template) print "Upgraded %s to version %d" % (filename, new) -- cgit