https://bugzilla.redhat.com/show_bug.cgi?id=710240
Description of problem:
Version-Release number of selected component (if applicable): ipa-server-2.0.0-23.el6.x86_64
How reproducible: Always
Steps to Reproduce:
1. # ipa sudorule-add-option defaultrule1--sudooption=always_set_home -------------------- sudorule-add-option: -------------------- ---------------------------------------------------------- Added option "always_set_home" to Sudo rule "defaultrule1" ---------------------------------------------------------- 2. Add the same option again. # ipa sudorule-add-option defaultrule1--sudooption=always_set_home
Actual results:
1. # ipa sudorule-add-option defaultrule1--sudooption=always_set_home -------------------- sudorule-add-option: -------------------- ---------------------------------------------------------- Added option "always_set_home" to Sudo rule "defaultrule1" ---------------------------------------------------------- 2. The option is not added as it already exists as expected.
Expected results: Appropriate message should be displayed stating that the given sudooption already exists.
attachment freeipa-jraquino-0029-Raise-DuplicateEntry-Error-when-adding-a-duplicate.2.patch
AUTHORITATIVE PATCH: Missed the check box previously. freeipa-jraquino-0029-Raise-DuplicateEntry-Error-when-adding-a-duplicate.patch
master: 44cdf8e
Metadata Update from @dpal: - Issue assigned to jraquino - Issue set to the milestone: FreeIPA 2.1 - 2011/06
Login to comment on this ticket.