summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-07-28 18:45:44 -0500
committerAdam Young <ayoung@redhat.com>2011-07-28 21:40:03 -0400
commit1983193d477227c1102dc219d0925da91be51731 (patch)
treecb20e4709bf3456c333923a60d50acc9d89cfaa3 /ipalib/plugins
parentbe17fed8c4c2621c23bdfc086214020790c11b21 (diff)
downloadfreeipa-1983193d477227c1102dc219d0925da91be51731.tar.gz
freeipa-1983193d477227c1102dc219d0925da91be51731.tar.xz
freeipa-1983193d477227c1102dc219d0925da91be51731.zip
Fixed missing memberof definition in HBAC service.
The HBAC service class has been modified to define the memberof relationship with HBAC service group. Ticket #1546
Diffstat (limited to 'ipalib/plugins')
-rw-r--r--ipalib/plugins/hbacsvc.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/ipalib/plugins/hbacsvc.py b/ipalib/plugins/hbacsvc.py
index 7ba1bf6bd..c2041c3e6 100644
--- a/ipalib/plugins/hbacsvc.py
+++ b/ipalib/plugins/hbacsvc.py
@@ -55,8 +55,11 @@ class hbacsvc(LDAPObject):
object_name = _('HBAC service')
object_name_plural = _('HBAC services')
object_class = [ 'ipaobject', 'ipahbacservice' ]
- default_attributes = ['cn', 'description', 'memberindirect',]
+ default_attributes = ['cn', 'description', 'memberof']
uuid_attribute = 'ipauniqueid'
+ attribute_members = {
+ 'memberof': ['hbacsvcgroup'],
+ }
label = _('HBAC Services')
label_singular = _('HBAC Service')