summaryrefslogtreecommitdiffstats
path: root/ldap/ldif
diff options
context:
space:
mode:
authorNathan Kinder <nkinder@redhat.com>2009-06-25 14:28:56 -0700
committerNathan Kinder <nkinder@redhat.com>2009-06-25 14:28:56 -0700
commit04efbf04c46a84429c60bd6c624ab6282d9dd913 (patch)
tree2643f73309c011af494fa1d75fb271dee221d173 /ldap/ldif
parent6d6630452f742f46519ec16aac4d6943e62ae286 (diff)
downloadds-04efbf04c46a84429c60bd6c624ab6282d9dd913.tar.gz
ds-04efbf04c46a84429c60bd6c624ab6282d9dd913.tar.xz
ds-04efbf04c46a84429c60bd6c624ab6282d9dd913.zip
Add linked attributes plug-in.
This patch implements a linked attribute plug-in. Details of the plug-in features and design are available on the 389 wiki at: http://directory.fedoraproject.org/wiki/Linked_Attributes_Design In addition, I encountered a memory leak when testing the new plug-in with valgrind. There was a fix to the dse add code for a double free a few months back, which causes a leak in certain situations. This previous fix was for bz#489763. The proper thing to do is to make the dse backend add function consume the passed in entry upon success and leave it for the caller to deal with upon failure. This is the way the back-ldbm add function works.
Diffstat (limited to 'ldap/ldif')
-rw-r--r--ldap/ldif/template-dse.ldif.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/ldap/ldif/template-dse.ldif.in b/ldap/ldif/template-dse.ldif.in
index 82326d55..2694f0f1 100644
--- a/ldap/ldif/template-dse.ldif.in
+++ b/ldap/ldif/template-dse.ldif.in
@@ -554,6 +554,18 @@ nsslapd-plugintype: preoperation
nsslapd-pluginenabled: on
nsslapd-plugin-depends-on-type: database
+dn: cn=Linked Attributes,cn=plugins,cn=config
+objectclass: top
+objectclass: nsSlapdPlugin
+objectclass: extensibleObject
+objectclass: nsContainer
+cn: Linked Attributes
+nsslapd-pluginpath: liblinkedattrs-plugin
+nsslapd-plugininitfunc: linked_attrs_init
+nsslapd-plugintype: preoperation
+nsslapd-pluginenabled: on
+nsslapd-plugin-depends-on-type: database
+
dn: cn=Pass Through Authentication,cn=plugins,cn=config
objectclass: top
objectclass: nsSlapdPlugin