summaryrefslogtreecommitdiffstats
path: root/install/tools/ipa-upgradeconfig
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2011-09-23 11:46:59 -0400
committerMartin Kosek <mkosek@redhat.com>2011-09-23 20:41:08 +0200
commitf42da4357eac7e64e803b53c78d6cff9175d20a4 (patch)
tree00de5b71df5c0161cd70ff4fe37ed4758ef28749 /install/tools/ipa-upgradeconfig
parent188cc5c49617ba09d5cbbd6b4e27ec7bcf472d20 (diff)
downloadfreeipa-f42da4357eac7e64e803b53c78d6cff9175d20a4.tar.gz
freeipa-f42da4357eac7e64e803b53c78d6cff9175d20a4.tar.xz
freeipa-f42da4357eac7e64e803b53c78d6cff9175d20a4.zip
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
Diffstat (limited to 'install/tools/ipa-upgradeconfig')
-rw-r--r--install/tools/ipa-upgradeconfig2
1 files changed, 1 insertions, 1 deletions
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)