From 8f9b43483414412103992c3408d56de749aea8af Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Fri, 11 Dec 2009 17:35:06 -0500 Subject: Convert to using new result output handling This also inserts the dn into the response when adding a record. We need this in the ACI plugin when adding a taskgroup --- ipalib/plugins/baseldap.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ipalib/plugins/baseldap.py') diff --git a/ipalib/plugins/baseldap.py b/ipalib/plugins/baseldap.py index bd6ce301..94b00625 100644 --- a/ipalib/plugins/baseldap.py +++ b/ipalib/plugins/baseldap.py @@ -178,6 +178,8 @@ class LDAPCreate(crud.Create): dn = self.post_callback(ldap, dn, entry_attrs, *keys, **options) + entry_attrs['dn'] = dn + self.obj.convert_attribute_members(entry_attrs, *keys, **options) return dict( result=entry_attrs, -- cgit