summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Zuna <pzuna@redhat.com>2009-10-21 16:12:11 +0200
committerRob Crittenden <rcritten@redhat.com>2009-10-21 10:35:03 -0400
commit6b38de9454729743c338f2ce8bea60665fc458ca (patch)
treeb12fbc9014750e44993e69e6e37031a4111ad6be
parent914d2cd4df3b065973cc86ea2316fe8468a2de7e (diff)
downloadfreeipa-6b38de9454729743c338f2ce8bea60665fc458ca.tar.gz
freeipa-6b38de9454729743c338f2ce8bea60665fc458ca.tar.xz
freeipa-6b38de9454729743c338f2ce8bea60665fc458ca.zip
Display membership attributes (member, memberOf) by default in show/find.
-rw-r--r--ipalib/plugins/group.py4
-rw-r--r--ipalib/plugins/netgroup.py2
-rw-r--r--ipalib/plugins/taskgroup.py2
3 files changed, 5 insertions, 3 deletions
diff --git a/ipalib/plugins/group.py b/ipalib/plugins/group.py
index afed5d01b..b5cc7ca5a 100644
--- a/ipalib/plugins/group.py
+++ b/ipalib/plugins/group.py
@@ -35,7 +35,9 @@ class group(LDAPObject):
object_name_plural = 'groups'
object_class = ['ipausergroup']
object_class_config = 'ipagroupobjectclasses'
- default_attributes = ['cn', 'description', 'gidnumber', 'memberof']
+ default_attributes = [
+ 'cn', 'description', 'gidnumber', 'member', 'memberof'
+ ]
uuid_attribute = 'ipauniqueid'
attribute_names = {
'cn': 'name',
diff --git a/ipalib/plugins/netgroup.py b/ipalib/plugins/netgroup.py
index c35432385..f9ae95cba 100644
--- a/ipalib/plugins/netgroup.py
+++ b/ipalib/plugins/netgroup.py
@@ -33,7 +33,7 @@ class netgroup(LDAPObject):
object_name = 'netgroup'
object_name_plural = 'netgroups'
object_class = ['ipaobject', 'ipaassociation', 'ipanisnetgroup']
- default_attributes = ['cn', 'description', 'memberof']
+ default_attributes = ['cn', 'description', 'member', 'memberof']
uuid_attribute = 'ipauniqueid'
attribute_names = {
'cn': 'name',
diff --git a/ipalib/plugins/taskgroup.py b/ipalib/plugins/taskgroup.py
index be182f90d..4835266ec 100644
--- a/ipalib/plugins/taskgroup.py
+++ b/ipalib/plugins/taskgroup.py
@@ -33,7 +33,7 @@ class taskgroup(LDAPObject):
object_name = 'taskgroup'
object_name_plural = 'taskgroups'
object_class = ['ipaobject', 'groupofnames']
- default_attributes = ['cn', 'description', 'memberof']
+ default_attributes = ['cn', 'description', 'member', 'memberof']
uuid_attribute = 'ipauniqueid'
attribute_names = {
'cn': 'name',