On 04/02/2014 08:48 AM, Martin Kosek wrote:
On 04/01/2014 07:33 PM, Rob Crittenden wrote:
Martin Kosek wrote:
ipa-client-automount calls automountlocation-show command during the
process. Unfortunately, FreeIPA commands are forward compatible only
and thus fail the installer.

Similarly to ipa-client-install, call XML-RPC interface directly
with version fixed to 2.0 (command was already available at that
version) to fix the failure.

https://fedorahosted.org/freeipa/ticket/4290

ACK. Tested F-20 client against RHEL 6.5 server.

rob


Thanks.

Pushed to:
master: 66fb4d5e849a049e95d3ef4fcf2b86217488634d
ipa-3-3: ee2fac9bee6728facfa4525b8f97585f7030a14c

Martin

This breaks master, which uses rpcclient instead of xmlclient.
Here is a one-liner fix.

Pushed to master: 2478aa42a0cc3b9a061c6a281a99f6acb9b84fca

--
Petr³
From 32abe5bae298197ff5f93237aa616500df64c969 Mon Sep 17 00:00:00 2001
From: Petr Viktorin <[email protected]>
Date: Tue, 13 May 2014 16:48:49 +0200
Subject: [PATCH] ipa-client-automount: Use rpcclient, not xmlclient, for
 automountlocation_show

Fix for a regression in 66fb4d5e849a049e95d3ef4fcf2b86217488634d
https://fedorahosted.org/freeipa/ticket/4290
---
 ipa-client/ipa-install/ipa-client-automount | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ipa-client/ipa-install/ipa-client-automount b/ipa-client/ipa-install/ipa-client-automount
index 2923a8f46903b26da5644737af55917a9d1a8469..861e9249083ede0e8c9fe422e6cdfb6968eba8e3 100755
--- a/ipa-client/ipa-install/ipa-client-automount
+++ b/ipa-client/ipa-install/ipa-client-automount
@@ -441,7 +441,7 @@ def main():
             sys.exit('Cannot connect to the server due to ' + str(e))
         try:
             # Use the RPC directly so older servers are supported
-            result = api.Backend.xmlclient.forward(
+            result = api.Backend.rpcclient.forward(
                 'automountlocation_show',
                 unicode(options.location),
                 version=u'2.0',
-- 
1.9.0

_______________________________________________
Freeipa-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to