From 6833a5e2b4ed7af3d46b2d9a4997169454cc4e3f Mon Sep 17 00:00:00 2001 From: Pavel Zuna Date: Tue, 23 Feb 2010 15:26:07 +0100 Subject: Complete netgroup attributes. --- ipalib/plugins/netgroup.py | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/ipalib/plugins/netgroup.py b/ipalib/plugins/netgroup.py index 767bc1b3..7619d567 100644 --- a/ipalib/plugins/netgroup.py +++ b/ipalib/plugins/netgroup.py @@ -34,7 +34,10 @@ class netgroup(LDAPObject): object_name = 'netgroup' object_name_plural = 'netgroups' object_class = ['ipaobject', 'ipaassociation', 'ipanisnetgroup'] - default_attributes = ['cn', 'description', 'member', 'memberof', 'externalhost'] + default_attributes = [ + 'cn', 'description', 'member', 'memberof', 'externalhost', + 'nisdomainname', + ] uuid_attribute = 'ipauniqueid' attribute_names = { 'cn': 'name', @@ -71,10 +74,28 @@ class netgroup(LDAPObject): label='NIS domain name', doc='NIS domain name', ), + Str('ipauniqueid?', + cli_name='uuid', + label='IPA unique ID', + doc='IPA unique ID', + flags=['no_create', 'no_update'], + ), + Str('member_user?', + label='Member User', + flags=['no_create', 'no_update', 'no_search'], + ), + Str('member_group?', + label='Member Group', + flags=['no_create', 'no_update', 'no_search'], + ), Str('member_host?', label='Member Host', flags=['no_create', 'no_update', 'no_search'], ), + Str('member_hostgroup?', + label='Member Hostgroup', + flags=['no_create', 'no_update', 'no_search'], + ), Str('externalhost?', label='External Host', flags=['no_create', 'no_update', 'no_search'], -- cgit