freeipa/ipaclient/plugins
Christian Heimes e8b98555fc Fix otptoken_sync plugin
The plugin had two bugs:

For one it did not work under Python 3 because urlencode() returns a string
but HTTPSHandler expects bytes as data argument.

The primary key field name is not available in client plugins. Just pass
the token name and let server code convert the name to DN.

Fixes: https://pagure.io/freeipa/issue/7804
Signed-off-by: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
2019-11-28 16:09:07 +01:00
..
__init__.py ipaclient: introduce ipaclient.plugins 2016-06-03 09:00:34 +02:00
automember.py Fix Pylint 2.0 violations 2018-07-14 12:04:19 +02:00
automount.py ipaclient.plugins: Use api_version from internally called commands 2016-12-14 11:50:35 +01:00
ca.py Handle missing LWCA certificate or chain 2019-06-18 10:36:24 +10:00
cert.py Fix writing certificate chain to file 2018-10-02 10:18:32 +02:00
certmap.py Load certificate files as binary data 2018-04-30 20:42:00 +02:00
certprofile.py client: ignore override errors in command overrides 2016-06-30 16:32:20 +02:00
csrgen.py Defer import of ipaclient.csrgen 2018-04-10 07:58:52 +02:00
dns.py Fix translation of commands description in API Browser 2018-06-12 08:38:56 +02:00
hbacrule.py ipalib: split off client-side plugin code into ipaclient 2016-06-03 09:00:34 +02:00
hbactest.py Fix ipa hbactest output 2016-08-04 17:13:16 +02:00
host.py x509: Make certificates represented as objects 2017-07-27 10:28:58 +02:00
idrange.py client: ignore override errors in command overrides 2016-06-30 16:32:20 +02:00
internal.py client: ignore override errors in command overrides 2016-06-30 16:32:20 +02:00
location.py Remove unused variables in the code 2016-09-27 13:35:58 +02:00
migration.py Fix pylint warnings inconsistent-return-statements 2017-12-18 11:51:14 +01:00
misc.py Make env and plugins commands local again 2016-12-02 13:00:06 +01:00
otptoken_yubikey.py otptoken_yubikey.py: Removed traceback when package missing. 2017-08-11 13:51:04 +02:00
otptoken.py Fix otptoken_sync plugin 2019-11-28 16:09:07 +01:00
passwd.py client: ignore override errors in command overrides 2016-06-30 16:32:20 +02:00
permission.py client: ignore override errors in command overrides 2016-06-30 16:32:20 +02:00
rpcclient.py pylint 2.2: Fix unnecessary pass statement 2018-11-26 16:54:43 +01:00
server.py Handled empty hostname in server-del command 2016-08-24 15:50:25 +02:00
service.py x509: Make certificates represented as objects 2017-07-27 10:28:58 +02:00
sudorule.py client: ignore override errors in command overrides 2016-06-30 16:32:20 +02:00
topology.py topology.py: Removes error message from dictionary. 2017-07-14 09:23:17 +02:00
trust.py client: ignore override errors in command overrides 2016-06-30 16:32:20 +02:00
user.py x509: Make certificates represented as objects 2017-07-27 10:28:58 +02:00
vault.py Py3: Remove subclassing from object 2018-09-27 11:49:04 +02:00