ipa-client-automount: Use rpcclient, not xmlclient, for automountlocation_show

Fix for a regression in 66fb4d5e84
https://fedorahosted.org/freeipa/ticket/4290
This commit is contained in:
Petr Viktorin 2014-05-13 16:48:49 +02:00
parent 74412dbf88
commit 2478aa42a0

View File

@ -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',