diff options
author | Nathan Kinder <nkinder@redhat.com> | 2009-11-04 14:39:44 -0800 |
---|---|---|
committer | Nathan Kinder <nkinder@redhat.com> | 2009-11-04 14:39:44 -0800 |
commit | faf68949bba456988ec4aaa2715c8d9cd664f513 (patch) | |
tree | ec8901fa7a8a951c6b6065ee8b76cf902ab673da /ldap/servers/plugins/linkedattrs/linked_attrs.c | |
parent | 1484974a30910c927f1ee17b52443186fffc3df0 (diff) | |
download | ds-faf68949bba456988ec4aaa2715c8d9cd664f513.tar.gz ds-faf68949bba456988ec4aaa2715c8d9cd664f513.tar.xz ds-faf68949bba456988ec4aaa2715c8d9cd664f513.zip |
Allow plugin execution order to be defined
This patch adds support for assigning a precedence to each plugin.
This precedence value is used to determine what order the plugins
should be called in within a given plugin type.
The precedence value is an integer between 1 and 99. The value is
set in the nsslapd-pluginPrecedence attribute in a plugin config
entry in "cn=config". If a plugin does not have a precedence
value set, the plugin is treated as if it has a precedence of 50.
For more details, see the feature design document at:
http://directory.fedoraproject.org/wiki/Plugin_Ordering
I also removed an incorrect log message in the linked attrs plugin
that I noticed while debugging this patch.
Diffstat (limited to 'ldap/servers/plugins/linkedattrs/linked_attrs.c')
-rw-r--r-- | ldap/servers/plugins/linkedattrs/linked_attrs.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/ldap/servers/plugins/linkedattrs/linked_attrs.c b/ldap/servers/plugins/linkedattrs/linked_attrs.c index a04fbb04..edaf5db1 100644 --- a/ldap/servers/plugins/linkedattrs/linked_attrs.c +++ b/ldap/servers/plugins/linkedattrs/linked_attrs.c @@ -1582,10 +1582,6 @@ linked_attrs_mod_post_op(Slapi_PBlock *pb) /* First check if the config is being modified. */ if (linked_attrs_dn_is_config(dn)) { linked_attrs_load_config(); - } else { - slapi_log_error(SLAPI_LOG_PLUGIN, LINK_PLUGIN_SUBSYSTEM, - "linked_attrs_mod_post_op: Error " - "retrieving dn\n"); } /* get the mod set */ |