diff options
author | Fraser Tweedale <ftweedal@redhat.com> | 2016-06-24 17:29:51 +1000 |
---|---|---|
committer | Martin Basti <mbasti@redhat.com> | 2016-06-30 16:03:32 +0200 |
commit | 16f33ddb51523fe9a4c68e91519099991ece10a5 (patch) | |
tree | 5be15337a02ab1b75ead2434307d64bd17d83c05 /ipaserver/plugins/migration.py | |
parent | 669da991837267435a6e6563794f93c2f207c80b (diff) | |
download | freeipa-16f33ddb51523fe9a4c68e91519099991ece10a5.tar.gz freeipa-16f33ddb51523fe9a4c68e91519099991ece10a5.tar.xz freeipa-16f33ddb51523fe9a4c68e91519099991ece10a5.zip |
Check for CA subject name collision before attempting creation
Lightweight CA subject name collisions are prevented by Dogtag
(response code 409 Conflict), however, we do not want to expose the
Dogtag error. Perform the check in the IPA framework as well,
raising DuplicateEntry on collision.
Fixes: https://fedorahosted.org/freeipa/ticket/5981
Reviewed-By: Milan Kubik <mkubik@redhat.com>
Diffstat (limited to 'ipaserver/plugins/migration.py')
0 files changed, 0 insertions, 0 deletions