Fixes regression reported in https://fedorahosted.org/freeipa/ticket/6033

--
Martin^3 Babinsky
From 20f64daacd4b9537565afdaae4d02f7a25055e5c Mon Sep 17 00:00:00 2001
From: Martin Babinsky <mbabi...@redhat.com>
Date: Mon, 11 Jul 2016 10:46:34 +0200
Subject: [PATCH] ipa-compat-manage: use server API to retrieve plugin status

https://fedorahosted.org/freeipa/ticket/6033
---
 install/tools/ipa-compat-manage | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/install/tools/ipa-compat-manage b/install/tools/ipa-compat-manage
index 2b13c4a68531c7b6261465399b59225db094aba2..178cef9792c703f868fa3639a3a570b963dc7ed6 100755
--- a/install/tools/ipa-compat-manage
+++ b/install/tools/ipa-compat-manage
@@ -103,7 +103,7 @@ def main():
         if dirman_password is None:
             sys.exit("Directory Manager password required")
 
-    api.bootstrap(context='cli', debug=options.debug)
+    api.bootstrap(context='cli', in_server=True, debug=options.debug)
     api.finalize()
 
     conn = None
-- 
2.5.5

-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

Reply via email to