[Freeipa-devel] [PATCH 0388] tests: Add hostmask detection for sudo rules validating

Tomas Babej tbabej at redhat.com
Wed Dec 2 14:41:54 UTC 2015



On 12/02/2015 09:24 AM, Tomas Babej wrote:
> 
> 
> On 12/01/2015 06:27 PM, Tomas Babej wrote:
>>
>>
>> On 11/30/2015 05:32 PM, Lukas Slebodnik wrote:
>>> On (30/11/15 13:09), Tomas Babej wrote:
>>>> Hi,
>>>>
>>>> IPA sudo tests worked under the assumption that the clients that
>>>> are executing the sudo commands have their IPs assigned within
>>>> 255.255.255.0 hostmask.
>>>>
>>>> Removes this (invalid) assumption and adds a dynamic detection of
>>>> the hostmask of the IPA client.
>>>>
>>>> https://fedorahosted.org/freeipa/ticket/5501
>>>
>>> >From e6f1846f0d7d17303e5b30b1643651ba739b2b6c Mon Sep 17 00:00:00 2001
>>>> From: Tomas Babej <tbabej at redhat.com>
>>>> Date: Mon, 30 Nov 2015 12:53:39 +0100
>>>> Subject: [PATCH] tests: Add hostmask detection for sudo rules validating on
>>>> hostmask
>>>>
>>>> IPA sudo tests worked under the assumption that the clients that
>>>> are executing the sudo commands have their IPs assigned within
>>>> 255.255.255.0 hostmask.
>>>>
>>>> Removes this (invalid) assumption and adds a dynamic detection of
>>>> the hostmask of the IPA client.
>>>>
>>
>> Thanks, updated patch attached.
>>
>> Tomas
>>
> 
> Actually, a small improvement is necessary.
> 
> Updated patch attached.
> 
> Tomas
> 
> 
> 

Thanks to Lukas, we found another problem with the test.

Updated patch attached.

Tomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-tbabej-0388-4-tests-Add-hostmask-detection-for-sudo-rules-validati.patch
Type: text/x-patch
Size: 2705 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20151202/a4f0686a/attachment.bin>


More information about the Freeipa-devel mailing list