makeaci: Use the DN where the ACI is stored, not the permission's DN

Reviewed-By: Martin Basti <mbasti@redhat.com>
This commit is contained in:
Petr Viktorin
2014-06-12 13:53:53 +02:00
parent 5434851efd
commit afe067b1ab
2 changed files with 132 additions and 132 deletions

View File

@@ -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)