📄 slapd.plugin.5
字号:
.TH SLAPD.PLUGIN 5 "RELEASEDATE" "OpenLDAP LDVERSION".\" Copyright 2002-2007 The OpenLDAP Foundation All Rights Reserved..\" Copying restrictions apply. See COPYRIGHT/LICENSE..SH NAMEslapd.plugin \- plugin configuration for slapd, the stand-alone LDAP daemon.SH SYNOPSISETCDIR/slapd.conf.SH DESCRIPTIONThe .BR slapd.conf (5)file contains configuration information for the.BR slapd (8)daemon. This configuration file is also used by the.BR slurpd (8)replication daemon and by the SLAPD tools.BR slapadd (8),.BR slapcat (8),and.BR slapindex (8)..LPThe.B slapd.conffile consists of a series of global configuration options that apply to.B slapdas a whole (including all backends), followed by zero or more databasebackend definitions that contain information specific to a backendinstance..LPThe general format of.B slapd.confis as follows:.LP.nf # comment - these options apply to every database <global configuration options> # first database definition & configuration options database <backend 1 type> <configuration options specific to backend 1> # subsequent database definitions & configuration options ....fi.LPIf slapd is compiled with \fI--enable-slapi\fP, support for pluginsaccording to \fINetscape's Directory Server Plug-Ins\fP.Version 4 of the API is currently implemented, with some extensionsfrom version 5..LPBoth global and database specific data may contain plugin information.Plugins associated with a specific database are called before globalplugins.This manpage details the.BR slapd (8)configuration statements that affect the loading of SLAPI \fIplugins\fP..LPArguments that should be replaced by actual text are shown in brackets <>..LPThe structure of the plugin directives is.TP.B plugin "<type> <lib_path> <init_function> [<arguments>]"Load a plugin of the specified type for the current database..LPThe .BR <type>can be one of.BR preoperation ,that is executed before processing the operation for the specifieddatabase, .BR postoperation ,that is executed after the operation for the specified databasehas been processed,.BR extendedop ,that is used when executing an extended operation, or.BR object .The latter is used for miscellaneous types such as ACL, computedattribute and search filter rewriter plugins..LPThe.BR <libpath>argument specifies the path to the plugin loadable object; if a relativepath is given, the object is looked for according to the underlyingdynamic loading package (libtool's ltdl is used)..LPThe .BR <init_function>argument specifies what symbol must be called when the plugin is firstloaded.This function should register the functions provided by the pluginfor the desired operations. It should be noted that it is this init function, not the plugin type specified as the first argument,that determines when and for what operations the plugin will be invoked.The optional.BR <arguments>list is passed to the init function..TP.B pluginlog <file>Specify an alternative path for the plugin log file (default isLOCALSTATEDIR/error)..TP.B modulepath <pathspec>This statement sets the module load path for dynamically loadable backends, as described in.BR slapd.conf (5); however, since both the dynamically loadable backends and the SLAPI plugins use the same underlying library (libtool's ltdl)its value also affects the plugin search path.In general the search path is made of colon-separated paths; usuallythe user-defined path is searched first; then the value of the\fILTDL_LIBRARY_PATH\fP environment variable, if defined, is used;finally, the system-specific dynamic load path is attempted (e.g. onLinux the value of the environment variable \fILD_LIBRARY_PATH\fP).Please carefully read the documentation of ltdl because its behavior is very platform dependent..SH FILES.TPETCDIR/slapd.confdefault slapd configuration file.SH SEE ALSO.BR slapd (8),.LP"OpenLDAP Administrator's Guide" (http://www.OpenLDAP.org/doc/admin/).SH ACKNOWLEDGEMENTS.B OpenLDAPis developed and maintained by The OpenLDAP Project (http://www.openldap.org/)..B OpenLDAPis derived from University of Michigan LDAP 3.3 Release.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -