summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/hbacrule.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipalib/plugins/hbacrule.py')
-rw-r--r--ipalib/plugins/hbacrule.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipalib/plugins/hbacrule.py b/ipalib/plugins/hbacrule.py
index 52abb408b..06e9c4e6b 100644
--- a/ipalib/plugins/hbacrule.py
+++ b/ipalib/plugins/hbacrule.py
@@ -324,7 +324,7 @@ class hbacrule_enable(LDAPQuery):
return dict(
result=True,
- value=cn,
+ value=pkey_to_value(cn, options),
)
api.register(hbacrule_enable)
@@ -354,7 +354,7 @@ class hbacrule_disable(LDAPQuery):
return dict(
result=True,
- value=cn,
+ value=pkey_to_value(cn, options),
)
api.register(hbacrule_disable)