[Freeipa-devel] [PATCH] 29 Raise DuplicateEntry Error when adding a duplicate sudo option
JR Aquino
JR.Aquino at citrix.com
Fri Jun 10 22:32:31 UTC 2011
On Jun 10, 2011, at 3:11 PM, JR Aquino wrote:
> On Jun 9, 2011, at 10:24 AM, Rob Crittenden wrote:
>
>> JR Aquino wrote:
>>> https://fedorahosted.org/freeipa/ticket/1277
>>>
>>> Raise DuplicateEntry Error when adding a duplicate sudo option
>>
>> nack, this will still fail if no ipasudoopt is passed in.
>>
>> Also, is this case-sensitive?
>
> Yes, it is case sensitive (Example: sudoOption: env_keep+=SSH_AUTH_SOCK)
>
> Here is an adjusted patch to account for no ipasudoopt as well as an empty space.
>
> <freeipa-jraquino-0029-Raise-DuplicateEntry-Error-when-adding-a-duplicate.patch>
Minor correction: Addressed the 1 character change needed to address #1276
Added notes to indicate this patch fixes:
#1276 (Removed option from Sudo rule message is displayed even when the given option doesn't exist.)
#1277 (Added option to Sudo rule message is displayed even when the given option already exists.)
#1308 (Internal error while removing sudorule option without "--sudooption")
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-jraquino-0029-Raise-DuplicateEntry-Error-when-adding-a-duplicate.patch
Type: application/octet-stream
Size: 3776 bytes
Desc: freeipa-jraquino-0029-Raise-DuplicateEntry-Error-when-adding-a-duplicate.patch
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20110610/5ebcdc7b/attachment.obj>
More information about the Freeipa-devel
mailing list