mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
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:
parent
74412dbf88
commit
2478aa42a0
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user