aci plugin: Fix internal error when ACIs are not readable

Part of the work for: https://fedorahosted.org/freeipa/ticket/3566

Reviewed-By: Martin Kosek <mkosek@redhat.com>
This commit is contained in:
Petr Viktorin committed 2014-05-29 16:22:37 +02:00
1 parent 8bbd52e347
commit 647fa1db85
1 file changed
+1 -1
+1 -1
View File
@@ -546,7 +546,7 @@ class aci_add(crud.Create):
raise errors.DuplicateEntry()
newaci_str = unicode(newaci)
entry['aci'].append(newaci_str)
entry.setdefault('aci', []).append(newaci_str)
if not kw.get('test', False):
ldap.update_entry(entry)