summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/baseldap.py
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2009-12-11 17:35:06 -0500
committerJason Gerard DeRose <jderose@redhat.com>2009-12-14 20:01:02 -0700
commit8f9b43483414412103992c3408d56de749aea8af (patch)
treeeceb631b80ab3f683375980e1478270897e60547 /ipalib/plugins/baseldap.py
parent766b534da0c3a1ed09fe187323eaae0440eb7784 (diff)
downloadfreeipa.git-8f9b43483414412103992c3408d56de749aea8af.tar.gz
freeipa.git-8f9b43483414412103992c3408d56de749aea8af.tar.xz
freeipa.git-8f9b43483414412103992c3408d56de749aea8af.zip
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
Diffstat (limited to 'ipalib/plugins/baseldap.py')
-rw-r--r--ipalib/plugins/baseldap.py2
1 files changed, 2 insertions, 0 deletions
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,