diff options
Diffstat (limited to 'ipalib/plugins/netgroup.py')
-rw-r--r-- | ipalib/plugins/netgroup.py | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/ipalib/plugins/netgroup.py b/ipalib/plugins/netgroup.py index 767bc1b35..7619d567b 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'], |