freeipa/ipatests
Fraser Tweedale 5f0e13ce9c ca-add: validate Subject DN name attributes
If the Subject DN is syntactically valid but contains unrecognised
name attributes, FreeIPA accepts it but Dogtag rejects it, returning
status 400 and causing the framework to raise RemoteRetrieveError.

Update the ca-add command to perform some additional validation on
the user-supplied Subject DN, making sure that we recognise all the
attributes.

Fixes: https://pagure.io/freeipa/issue/6987
Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
Reviewed-By: Felipe Volpone <felipevolpone@gmail.com>
2017-06-01 09:28:36 +02:00
..
man Build: remove incorrect use of MAINTAINERCLEANFILES 2016-11-16 09:12:07 +01:00
pytest_plugins Silence pytest.yield_fixture deprecation warning 2017-05-30 12:28:51 +02:00
test_cmdline pytest 3.x compatibility 2017-03-27 18:03:14 +02:00
test_install pytest 3.x compatibility 2017-03-27 18:03:14 +02:00
test_integration Do not delete DS and PKI users during backup/restore tests 2017-05-30 13:31:28 +02:00
test_ipaclient csrgen: Change to pure openssl config format (no script) 2017-04-03 07:46:30 +00:00
test_ipalib Add options to run only ipaclient unittests 2017-03-17 15:02:13 +01:00
test_ipapython Reimplement yield tests are parametrized tests 2017-05-30 12:28:51 +02:00
test_ipaserver Silence pytest.yield_fixture deprecation warning 2017-05-30 12:28:51 +02:00
test_pkcs10 Use with statement for opening file 2017-03-30 13:08:08 +02:00
test_webui pytest 3.x compatibility 2017-03-27 18:03:14 +02:00
test_xmlrpc ca-add: validate Subject DN name attributes 2017-06-01 09:28:36 +02:00
__init__.py Make an ipa-tests package 2013-06-17 19:22:50 +02:00
conftest.py tox testing support for client wheel packages 2017-04-12 16:53:22 +02:00
data.py Fix more bytes/unicode issues 2015-10-22 18:34:46 +02:00
i18n.py Improve the robustness FreeIPA's i18n module and its tests 2016-11-28 13:58:33 +01:00
ipa-run-tests Enable additional warnings (BytesWarning, DeprecationWarning) 2017-02-10 16:16:44 +01:00
ipa-test-config Move env_config module to ipatests.pytest_plugins.integration.env_config 2017-03-22 13:42:04 +01:00
ipa-test-task Move hosts module to ipatests.pytest_plugins.integration.hosts 2017-03-22 13:42:04 +01:00
Makefile.am Build: fix distribution of static files for web UI 2016-11-09 13:08:32 +01:00
setup.cfg Port all setup.py to setuptools 2016-10-20 18:43:37 +02:00
setup.py Correct PyPI package dependencies 2017-04-26 12:31:11 +02:00
test_util.py Silence pytest.yield_fixture deprecation warning 2017-05-30 12:28:51 +02:00
util.py Fix ipatests.util doc tests 2017-03-30 13:20:13 +02:00