From 50a2c45760d51e7a13888702e1a047a113bc1f5e Mon Sep 17 00:00:00 2001 From: Martin Kosek Date: Mon, 18 Jul 2011 09:33:57 +0200 Subject: Check IPA configuration in install tools Install tools may fail with unexpected error when IPA server is not installed on a system. Improve user experience by implementing a check to affected tools. https://fedorahosted.org/freeipa/ticket/1327 https://fedorahosted.org/freeipa/ticket/1347 --- install/tools/ipa-nis-manage | 2 ++ 1 file changed, 2 insertions(+) (limited to 'install/tools/ipa-nis-manage') diff --git a/install/tools/ipa-nis-manage b/install/tools/ipa-nis-manage index f61610af8..6eb619c3c 100755 --- a/install/tools/ipa-nis-manage +++ b/install/tools/ipa-nis-manage @@ -87,6 +87,8 @@ def main(): if os.getegid() != 0: sys.exit('Must be root to use this tool.') + installutils.check_server_configuration() + options, args = parse_options() if options.debug: loglevel = logging.DEBUG -- cgit