summaryrefslogtreecommitdiffstats
path: root/makeaci
diff options
context:
space:
mode:
authorPetr Viktorin <pviktori@redhat.com>2014-06-12 13:53:53 +0200
committerPetr Viktorin <pviktori@redhat.com>2014-07-07 14:42:52 +0200
commitafe067b1ab9b224080ca05b906e9dfd50c40c59b (patch)
tree5f0b4b57f24f3655348eefb6612c3178c5853a09 /makeaci
parent5434851efd394c27ab6445a4b7544767452e20a5 (diff)
downloadfreeipa-afe067b1ab9b224080ca05b906e9dfd50c40c59b.tar.gz
freeipa-afe067b1ab9b224080ca05b906e9dfd50c40c59b.tar.xz
freeipa-afe067b1ab9b224080ca05b906e9dfd50c40c59b.zip
makeaci: Use the DN where the ACI is stored, not the permission's DN
Reviewed-By: Martin Basti <mbasti@redhat.com>
Diffstat (limited to 'makeaci')
-rwxr-xr-xmakeaci2
1 files changed, 1 insertions, 1 deletions
diff --git a/makeaci b/makeaci
index 6c1a4603c..c4c6f8a7f 100755
--- a/makeaci
+++ b/makeaci
@@ -69,7 +69,7 @@ def generate_aci_lines(api):
is_new=True,
)
aci = perm_plugin.make_aci(entry)
- yield 'dn: %s\n' % dn
+ yield 'dn: %s\n' % entry.single_value['ipapermlocation']
yield 'aci: %s\n' % aci
check_member_attrs(name, template)