https://bugzilla.redhat.com/show_bug.cgi?id=710245
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-find sudorule1 --all dn: ipauniqueid=78c97b54-8d01-11e0-b6e8-525400deab7b,cn=sudorules,cn=sudo,dc=lab,dc=eng,dc=pnq,dc=redhat,dc=com Rule name: sudorule1 Enabled: TRUE Sudo Deny Commands: /bin/ls Run As Group: group2 RunAs External User: test ipasudoopt: env_keep = LANG LC_ADDRESS LC_CTYPE LC_COLLATE LC_IDENTIFICATION LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE LC_TIME LC_ALL LANGUAGE LINGUAS XDG_SESSION_COOKIE, !authenticate ipasudorunas_group: group1 ipauniqueid: 78c97b54-8d01-11e0-b6e8-525400deab7b objectclass: ipaassociation, ipasudorule ---------------------------- Number of entries returned 1 ---------------------------- 2. # ipa sudorule-remove-option sudorule1 --sudooption=invalid ----------------------- sudorule-remove-option: ----------------------- ---------------------------------------------------- Removed option "invalid" from Sudo rule "sudorule1" ----------------------------------------------------
Actual results: 1. displays: Removed option "invalid" from Sudo rule "sudorule1"
Expected results: 1. Appropriate message should be displayed stating that the specified sudooption does not exist in this sudorule.
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.