#109 hosts_show needs to show enrollment in netgroups
Closed: Fixed None Opened 13 years ago by admiyo.

Just like enrollment in hostgroups is shown by:
"memberof": [
"cn=host-live,cn=hostgroups,cn=accounts,dc=ayoung,dc=boston,dc=devel,dc=redhat,dc=com"
],
"memberof_hostgroup": [
"host-live"
]

We need something like:

            "memberof_netgroup": [
                "net-live"
            ]

I'm not sure if the memberof group above can cover both hostgroups and netgroups


I filed RFE https://bugzilla.redhat.com/show_bug.cgi?id=620927 against 389-ds. The memberof plugin can currently only handle one source attribute and we have it configured for member. There can also only be one instance of the memberof plugin. There is no way to have it look at memberHost yet.

To test this:

ipa netgroup-add --desc=netgroup net1

ipa netgroup-add-member --hosts=hostname net1

ipa netgroup-show net1 (should have the host and user as members)

ipa host-show hostname (should have Member of netgroups)

apply memberof to memberuser and memberhost
freeipa-rcrit-614-memberof.patch

Metadata Update from @admiyo:
- Issue assigned to rcritten
- Issue set to the milestone: FreeIPA 2.0 - 2010/11

7 years ago

Login to comment on this ticket.

Metadata