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/slapd/main.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/slapd/main.c')
-rw-r--r-- | ldap/servers/slapd/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ldap/servers/slapd/main.c b/ldap/servers/slapd/main.c index 1d820f33..3cad84b8 100644 --- a/ldap/servers/slapd/main.c +++ b/ldap/servers/slapd/main.c @@ -1134,6 +1134,7 @@ main( int argc, char **argv) */ task_cleanup(); + plugin_print_lists(); plugin_startall(argc, argv, 1 /* Start Backends */, 1 /* Start Globals */); if (housekeeping_start((time_t)0, NULL) == NULL) { return_value = 1; |