mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Complete netgroup attributes.
This commit is contained in:
parent
5db8ebb48e
commit
6833a5e2b4
@ -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'],
|
||||
|
Loading…
Reference in New Issue
Block a user