summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2016-05-25 12:20:31 +0200
committerJan Cholasta <jcholast@redhat.com>2016-06-03 09:00:34 +0200
commit43dc424041e6766dbadd46f6f3982d85e69049cc (patch)
tree6502f9025824889e611d38b1fd735e28d9aebff7 /client
parentf35beca68ceaab34ec1bed86be5ae49a0a931658 (diff)
downloadfreeipa-43dc424041e6766dbadd46f6f3982d85e69049cc.tar.gz
freeipa-43dc424041e6766dbadd46f6f3982d85e69049cc.tar.xz
freeipa-43dc424041e6766dbadd46f6f3982d85e69049cc.zip
rpc: respect API config in RPCClient.create_connection
When connecting rpcclient, get the default values of the `verbose`, `fallback` and `delegate` options from API config rather than hard-code them. https://fedorahosted.org/freeipa/ticket/4739 Reviewed-By: David Kupka <dkupka@redhat.com>
Diffstat (limited to 'client')
-rwxr-xr-xclient/ipa-client-install3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/ipa-client-install b/client/ipa-client-install
index 1606d1d2f..2c5b20769 100755
--- a/client/ipa-client-install
+++ b/client/ipa-client-install
@@ -2794,7 +2794,8 @@ def install(options, env, fstore, statestore):
# Now, let's try to connect to the server's RPC interface
connected = False
try:
- api.Backend.rpcclient.connect(nss_dir=tmp_db.secdir)
+ api.Backend.rpcclient.connect(delegate=False,
+ nss_dir=tmp_db.secdir)
connected = True
root_logger.debug("Try RPC connection")
api.Backend.rpcclient.forward('ping')