Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use api.env.nss_dir instead of paths.IPA_NSSDB_DIR | Christian Heimes | 2016-11-14 | 1 | -2/+1 |
| | | | | | | | | | | ipaclient plugins are now using nss_dir from api.env instead of hard-coded paths.IPA_NSSDB_DIR. Closes: https://fedorahosted.org/freeipa/ticket/6386 Signed-off-by: Christian Heimes <cheimes@redhat.com> Reviewed-By: Tomas Krizek <tkrizek@redhat.com> Reviewed-By: Jan Cholasta <jcholast@redhat.com> | ||||
* | client: ignore override errors in command overrides | Jan Cholasta | 2016-06-30 | 1 | -1/+1 |
| | | | | | | | | | This fixes API initialization errors when the remote server does not have the overriden command. https://fedorahosted.org/freeipa/ticket/4739 Reviewed-By: David Kupka <dkupka@redhat.com> | ||||
* | otptoken: support Python 3 for the qr code | Alexander Bokovoy | 2016-06-09 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | When IPA client is using Python 3, there is no str.decode() method anymore. ipa: ERROR: AttributeError: 'str' object has no attribute 'decode' Traceback (most recent call last): File "/usr/lib/python3.5/site-packages/ipalib/cli.py", line 1345, in run sys.exit(api.Backend.cli.run(argv)) File "/usr/lib/python3.5/site-packages/ipalib/cli.py", line 1110, in run rv = cmd.output_for_cli(self.api.Backend.textui, result, *args, **options) File "/usr/lib/python3.5/site-packages/ipaclient/plugins/otptoken.py", line 103, in output_for_cli qr = self._get_qrcode(output, uri, options['version']) File "/usr/lib/python3.5/site-packages/ipaclient/plugins/otptoken.py", line 61, in _get_qrcode qr_code = qr_output.getvalue().decode(encoding) AttributeError: 'str' object has no attribute 'decode' ipa: ERROR: an internal error has occurred Fixes https://fedorahosted.org/freeipa/ticket/5938 Reviewed-By: Jan Cholasta <jcholast@redhat.com> | ||||
* | Fix minor typo | Yuri Chornoivan | 2016-06-03 | 1 | -1/+1 |
| | | | | Reviewed-By: Martin Basti <mbasti@redhat.com> | ||||
* | ipalib: split off client-side plugin code into ipaclient | Jan Cholasta | 2016-06-03 | 1 | -0/+82 |
| | | | | | | | | | | | Provide client-side overrides for command plugins which implement any of the client-side `interactive_prompt_callback`, `forward` or `output_for_cli` methods and move the methods from the original plugins to the overrides. https://fedorahosted.org/freeipa/ticket/4739 Reviewed-By: David Kupka <dkupka@redhat.com> | ||||
* | ipalib: move client-side plugins to ipaclient | Jan Cholasta | 2016-06-03 | 1 | -0/+110 |
Move the rpcclient backend and commands which are executed on the client to ipaclient.plugins. https://fedorahosted.org/freeipa/ticket/4739 Reviewed-By: David Kupka <dkupka@redhat.com> |