[Freeipa-devel] [PATCH] Reformat ipa-adtrust-install final message to fit 80 columns

Alexander Bokovoy abokovoy at redhat.com
Thu Jun 21 15:30:39 UTC 2012


https://fedorahosted.org/freeipa/ticket/2857
-- 
/ Alexander Bokovoy
-------------- next part --------------
>From bb54d74b7816374206843f5739ac672a13af971e Mon Sep 17 00:00:00 2001
From: Alexander Bokovoy <abokovoy at redhat.com>
Date: Thu, 21 Jun 2012 16:19:27 +0300
Subject: [PATCH 3/3] Re-format ipa-adtrust-install final message to be within
 80 characters wide

https://fedorahosted.org/freeipa/ticket/2857
---
 install/tools/ipa-adtrust-install |   52 ++++++++++++++++++++-----------------
 1 file changed, 28 insertions(+), 24 deletions(-)

diff --git a/install/tools/ipa-adtrust-install b/install/tools/ipa-adtrust-install
index c0b477102462e128400436f52d2f78b092f5272d..49bcf54e7c26c92f246c7612940d441e60a86e1f 100755
--- a/install/tools/ipa-adtrust-install
+++ b/install/tools/ipa-adtrust-install
@@ -210,30 +210,34 @@ def main():
               netbios_name, options.no_msdcs)
     smb.create_instance()
 
-    print "=============================================================================="
-    print "Setup complete"
-    print ""
-    print "\tYou must make sure these network ports are open:"
-    print "\t\tTCP Ports:"
-    print "\t\t  * 138: netbios-dgm"
-    print "\t\t  * 139: netbios-ssn"
-    print "\t\t  * 445: microsoft-ds"
-    print "\t\tUDP Ports:"
-    print "\t\t  * 138: netbios-dgm"
-    print "\t\t  * 139: netbios-ssn"
-    print "\t\t  * 389: (C)LDAP"
-    print "\t\t  * 445: microsoft-ds"
-    print ""
-    print "\tAdditionally you have to make sure the FreeIPA LDAP server cannot be reached"
-    print "\tby any domain controller in the Active Directory domain by closing the"
-    print "\tfollowing ports for these servers:"
-    print "\t\tTCP Ports:"
-    print "\t\t  * 389, 636: LDAP/LDAPS"
-    print "\tYou may want to choose to REJECT the network packets instead of DROPing them"
-    print "\tto avoid timeouts on the AD domain controllers."
-    print ""
-    print "\tWARNING: you MUST re-kinit admin user before using 'ipa trust-*' commands family"
-    print "\tin order to re-generate Kerberos tickets to include AD-specific information"
+    print """
+=============================================================================
+Setup complete
+
+You must make sure these network ports are open:
+\tTCP Ports:
+\t  * 138: netbios-dgm
+\t  * 139: netbios-ssn
+\t  * 445: microsoft-ds
+\tUDP Ports:
+\t  * 138: netbios-dgm
+\t  * 139: netbios-ssn
+\t  * 389: (C)LDAP
+\t  * 445: microsoft-ds
+
+Additionally you have to make sure the FreeIPA LDAP server is not reachable
+by any domain controller in the Active Directory domain by closing down
+the following ports for these servers:
+\tTCP Ports:
+\t  * 389, 636: LDAP/LDAPS
+
+You may want to choose to REJECT the network packets instead of DROPing
+them to avoid timeouts on the AD domain controllers.
+
+=============================================================================
+WARNING: you MUST re-kinit admin user before using 'ipa trust-*' commands
+family in order to re-generate Kerberos tickets to include AD-specific
+information"""
 
     return 0
 
-- 
1.7.10.2



More information about the Freeipa-devel mailing list