[Freeipa-devel] [PATCH] 487 fix netgroup plugin

Dmitri Pal dpal at redhat.com
Wed Jul 14 23:52:35 UTC 2010


Adam Young wrote:
> On 07/14/2010 03:43 PM, Rob Crittenden wrote:
>> The netgroup plugin was using the wrong attribute for memberships. It
>> needs to use memberuser for users and groups and memberhost for hosts
>> and hostgroups. I fixed this up and corrected the tests as well.
>>
>> rob
>>
>>
>> _______________________________________________
>> Freeipa-devel mailing list
>> Freeipa-devel at redhat.com
>> https://www.redhat.com/mailman/listinfo/freeipa-devel
>
>
>
> Got it installed and running.  Unclear how to test. 


Create a user group with 3 users U1 U2 U3. Create a host group with the
two hosts H 1 H2
Create a netgroup that includes this user group and this host group
Configure client to use your IPA server as a source of the netgroups
Lits the netgoups - should get your netgroup
List the contents of the netgroup. You should get triplets: user, host,
domain
The order of the users and hosts in triplets does not matter. What
matters is that each host and each user are listed in some triplet and
generally present in the netgroup not more than once.


> ------------------------------------------------------------------------
>
> _______________________________________________
> Freeipa-devel mailing list
> Freeipa-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/freeipa-devel


-- 
Thank you,
Dmitri Pal

Engineering Manager IPA project,
Red Hat Inc.


-------------------------------
Looking to carve out IT costs?
www.redhat.com/carveoutcosts/




More information about the Freeipa-devel mailing list