Complete netgroup attributes.

This commit is contained in:
Pavel Zuna 2010-02-23 15:26:07 +01:00 committed by Rob Crittenden
parent 5db8ebb48e
commit 6833a5e2b4

View File

@ -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'],