From 8d235c6b7134d54acee315a50a53d0d741173b64 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Thu, 4 Nov 2010 16:57:20 -0400 Subject: Verify the --ip-address option when setting up DNS. There was a corner case where the value of --ip-address was never verified if you were also setting up DNS. Added this bit of information to the man page too. ticket 399 --- install/tools/ipa-server-install | 2 ++ 1 file changed, 2 insertions(+) (limited to 'install/tools/ipa-server-install') diff --git a/install/tools/ipa-server-install b/install/tools/ipa-server-install index 6a9d1bc5e..2cc590ed3 100755 --- a/install/tools/ipa-server-install +++ b/install/tools/ipa-server-install @@ -598,6 +598,8 @@ def main(): if options.ip_address and options.ip_address != ip: if options.setup_dns: + if not verify_ip_address(options.ip_address): + return 1 ip = options.ip_address else: print >>sys.stderr, "Error: the hostname resolves to an IP address that is different" -- cgit