Returns a clearer hint when user is running ipa-client-automount with possible firewall up and blocking need ports.
Not sure if this patch is worded correctly in order to address the potential firewall block when running ipa-client-automount. Perhaps a different error should be thrown, rather than NOT_IPA_SERVER. Ticket: https://fedorahosted.org/freeipa/ticket/3080 Lynn Root Associate Software Engineer Red Hat
From 3723b5e94217de5c9adb571e36247bd0f6e6afb2 Mon Sep 17 00:00:00 2001 From: Lynn Root <lr...@redhat.com> Date: Mon, 26 Nov 2012 03:59:22 -0500 Subject: [PATCH] Clarified error message with ipa-client-automount. Returns a clearer hint when user is running ipa-client-automount with possible firewall up and blocking need ports. Ticket: https://fedorahosted.org/freeipa/ticket/3080 --- ipa-client/ipa-install/ipa-client-automount | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ipa-client/ipa-install/ipa-client-automount b/ipa-client/ipa-install/ipa-client-automount index fd922b8a9e3fafbe1c740642752ff9258f1260bd..b1ba8ba34398f733f6e196e32a23594438722975 100755 --- a/ipa-client/ipa-install/ipa-client-automount +++ b/ipa-client/ipa-install/ipa-client-automount @@ -407,7 +407,8 @@ def main(): root_logger.debug("Verifying that %s is an IPA server" % server) ldapret = ds.ipacheckldap(server, api.env.realm) if ldapret[0] != 0: - sys.exit('Unable to confirm that %s is an IPA v2 server' % server) + sys.exit('Unable to connect to or confirm that %s is an IPA v2 server. '\ + 'The required access ports may not be open.' % server) if not autodiscover: print "IPA server: %s" % server -- 1.7.12
_______________________________________________ Freeipa-devel mailing list Freeipa-devel@redhat.com https://www.redhat.com/mailman/listinfo/freeipa-devel