-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The installer asked for reverse zone creation even if --setup-bind was
not specified
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAk0R/fsACgkQHsardTLnvCVoSQCfYHaR7PvhpB+/P2QTCzCZSOlz
VTUAnjQR5OTEtPFC+50cmQ7BH8zKaAIB
=YMAM
-----END PGP SIGNATURE-----
From 4557ba467b2f242a96eec8d25ef203cdea7de066 Mon Sep 17 00:00:00 2001
From: Jakub Hrozek <[email protected]>
Date: Wed, 22 Dec 2010 14:03:09 +0100
Subject: [PATCH] Ask for reverse zone creation only when --setup-bind is specified

---
 install/tools/ipa-server-install |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/install/tools/ipa-server-install b/install/tools/ipa-server-install
index 6bd06c9..b73b63e 100755
--- a/install/tools/ipa-server-install
+++ b/install/tools/ipa-server-install
@@ -545,6 +545,7 @@ def main():
     master_password = ""
     dm_password = ""
     admin_password = ""
+    create_reverse = False
 
     # check bind packages are installed
     if options.setup_dns:
@@ -834,7 +835,8 @@ def main():
 
     # Create a BIND instance
     bind = bindinstance.BindInstance(fstore, dm_password)
-    create_reverse = bindinstance.create_reverse(options.unattended)
+    if options.setup_dns:
+        create_reverse = bindinstance.create_reverse(options.unattended)
     bind.setup(host_name, ip_address, realm_name, domain_name, dns_forwarders, options.conf_ntp, create_reverse, zonemgr=options.zonemgr)
     if options.setup_dns:
         api.Backend.ldap2.connect(bind_dn="cn=Directory Manager", bind_pw=dm_password)
-- 
1.7.3.3

Attachment: freeipa-jhrozek-032-reverse-zone.patch.sig
Description: PGP signature

_______________________________________________
Freeipa-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to