#9744 [RFE] Allow ipa tool to force running on specific server
Closed: fixed by frenaud. Opened by kororland.

Request for enhancement

As an IPA administrator, I want to force ipa cli command to run on a specific server, without changing default.conf or creating additional conf files so that I get results from a specific server - may be helpful if we want to test connectivity to a specific server, or compare outputs from different servers.

Issue

Currently, in order to force the ipa tool to go to a specific server, we either need to modify the default.conf xmlrpc_uri with URI of a desired server, or pass an environment value via

-e xmlrpc_uri=https://$fqdn/ipa/xml

I want to add option --server to pass the fqdn of the server naturally.


Pull request: https://github.com/freeipa/freeipa/pull/7687

master:

  • d9a2a6abcdaa66f4e2053c6cbf303c959d8be4f4 Allow ipa tool to force specific server

Metadata Update from @frenaud:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

Metadata Update from @frenaud:
- Custom field changelog adjusted to The ipa tool now supports the --force-server option. When this option is specified, for instance like in "ipa --force-server user-find", the CLI connects to the specified server instead of using the server configured in /etc/ipa/ca.crt or the server found in DNS SRV records. If the server does not reply, there is no fallback mechanism.

Metadata