From 875801d1d9406af6bcd4281962121f04b90287b7 Mon Sep 17 00:00:00 2001 From: Jan Cholasta Date: Wed, 1 Jun 2016 14:43:27 +0200 Subject: [PATCH] ipactl: use server API Initialize API in ipactl with in_server=True, as this is a server-side script. https://fedorahosted.org/freeipa/ticket/4739 Reviewed-By: David Kupka --- install/tools/ipactl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/tools/ipactl b/install/tools/ipactl index ccd3e437e..547b21d87 100755 --- a/install/tools/ipactl +++ b/install/tools/ipactl @@ -559,7 +559,7 @@ def main(): else: raise e - api.bootstrap(context='ipactl', debug=options.debug) + api.bootstrap(in_server=True, context='ipactl', debug=options.debug) api.finalize() if '.' not in api.env.host: