Similar to the problem #5074 with --setattr, when used as ipa cert profile-mod caIPAserviceCert --rename bogus, the profile gets renamed which leads to integrity issues.
ipa cert profile-mod caIPAserviceCert --rename bogus
This even works on the default profile which has checks preventing its deletion.
attachment freeipa-ftweedal-0040-certprofile-prevent-rename-modrdn.patch
master:
ipa-4-2:
Ticket has been cloned to Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1257163
BZ ticket reopened
Covered by {{{ipatests.test_xmlrpc.test_certprofile_plugin.TestProfileCRUD.test_try_rename_by_rename_option}}} and {{{ipatests.test_xmlrpc.test_certprofile_plugin.TestProfileCRUD.test_try_rename_by_setattr}}}
Metadata Update from @mkubik: - Issue assigned to ftweedal - Issue set to the milestone: FreeIPA 4.2.1
Login to comment on this ticket.