summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Zuna <pzuna@redhat.com>2010-02-23 15:26:07 +0100
committerRob Crittenden <rcritten@redhat.com>2010-02-23 17:54:54 -0500
commit6833a5e2b4ed7af3d46b2d9a4997169454cc4e3f (patch)
tree7744db7efa22604de68d6a89921f804d55526b73
parent5db8ebb48e8fd8ed927e15f124ed23da2de60ff9 (diff)
downloadfreeipa-6833a5e2b4ed7af3d46b2d9a4997169454cc4e3f.tar.gz
freeipa-6833a5e2b4ed7af3d46b2d9a4997169454cc4e3f.tar.xz
freeipa-6833a5e2b4ed7af3d46b2d9a4997169454cc4e3f.zip
Complete netgroup attributes.
-rw-r--r--ipalib/plugins/netgroup.py23
1 files changed, 22 insertions, 1 deletions
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'],