[Freeipa-devel] [PATCH] 29 Raise DuplicateEntry Error when adding a duplicate sudo option

JR Aquino JR.Aquino at citrix.com
Fri Jun 10 22:11:05 UTC 2011


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.

-------------- 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: 3414 bytes
Desc: freeipa-jraquino-0029-Raise-DuplicateEntry-Error-when-adding-a-duplicate.patch
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20110610/71f6c32d/attachment.obj>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ATT00001.txt
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20110610/71f6c32d/attachment.txt>


More information about the Freeipa-devel mailing list