[Date Prev][Date Next] [Chronological] [Thread] [Top]

support for dynamically loadable modules (ITS#196)



Full_Name: Bastiaan Bakker
Version: 2.0 devel 
OS: 
URL: ftp://ftp.openldap.org/incoming/bb_dynmods_for_HEAD19990608.v0.1.gz 
Submission from: (NULL) (212.206.95.7)


Currently most features of the slapd server, such as support for specific
backends,
authentication methods, etc. need to be configured at compile time. If you want
a 
new feature you have recompile the whole server.
It would be nice if features could be compiled as seperate modules and linked in
at 
run time. The config file shall contain a line like:
"loadmodule /path/to/moduledir/lib-moduleX.so argument1 argument2"
This will ask the server to load the module in shared object or DLL
lib-moduleX.so 
and give it argument1 and argument2 upon initialization. The initialization
routine
of the module shall register its services with the main server. After that these

services can be used just like statically linked ones.