summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2009-04-29 14:34:55 -0400
committerRob Crittenden <rcritten@redhat.com>2009-04-30 13:26:27 -0400
commit21ccdec8606431957719a26b70969e4e291f661b (patch)
tree8d69684c14382153edd203b7c2719a20f28d0e10
parent536b2150782d4d633e858567e4c1a4e266c6ef0c (diff)
downloadfreeipa-21ccdec8606431957719a26b70969e4e291f661b.tar.gz
freeipa-21ccdec8606431957719a26b70969e4e291f661b.tar.xz
freeipa-21ccdec8606431957719a26b70969e4e291f661b.zip
Add missing required attribute, nisdomainname
-rw-r--r--ipalib/plugins/netgroup.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/ipalib/plugins/netgroup.py b/ipalib/plugins/netgroup.py
index 3ee23d6a5..d0ef936ed 100644
--- a/ipalib/plugins/netgroup.py
+++ b/ipalib/plugins/netgroup.py
@@ -34,6 +34,22 @@ class netgroup(BaseGroup):
netgroup object.
"""
container=container_netgroup
+ takes_params = (
+ Str('description',
+ doc='A description of this group',
+ attribute=True,
+ ),
+ Str('cn',
+ cli_name='name',
+ primary_key=True,
+ normalizer=lambda value: value.lower(),
+ attribute=True,
+ ),
+ Str('nisdomainname',
+ doc='The NIS domain name',
+ attribute=True,
+ ),
+ )
api.register(netgroup)