mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-26 09:39:45 -05:00
Note perlModuleConfig, break in compatibility with older versions
This commit is contained in:
parent
4e96cd4605
commit
64a6cfe79b
1 changed files with 11 additions and 3 deletions
|
|
@ -29,7 +29,7 @@ following actions:
|
|||
* add # adds an entry to backend,
|
||||
* modrdn # modifies an entry's rdn,
|
||||
* delete # deletes an ldap entry,
|
||||
* config # process unknown config file lines,
|
||||
* config # module-specific config directives,
|
||||
* init # called after backend is initialized.
|
||||
.fi
|
||||
.LP
|
||||
|
|
@ -120,9 +120,9 @@ Its arguments are as follows.
|
|||
.LP
|
||||
.TP
|
||||
.B config
|
||||
This method is called with unknown
|
||||
This method is called once for each perlModuleConfig line in the
|
||||
.BR slapd.conf (5)
|
||||
configuration file lines.
|
||||
configuration file.
|
||||
Its arguments are as follows.
|
||||
.nf
|
||||
* object reference
|
||||
|
|
@ -159,6 +159,9 @@ Add the path to the @INC variable.
|
|||
Search results are candidates that need to be filtered (with the
|
||||
filter in the search request), rather than search results to be
|
||||
returned directly to the client.
|
||||
.TP
|
||||
.B perlModuleConfig <arguments>
|
||||
Invoke the module's config method with the given arguments.
|
||||
.SH EXAMPLE
|
||||
There is an example Perl module `SampleLDAP' in the slapd/back\-perl/
|
||||
directory in the OpenLDAP source tree.
|
||||
|
|
@ -179,6 +182,11 @@ operation is honored, which is performed by the frontend.
|
|||
.SH WARNING
|
||||
The interface of this backend to the perl module MAY change.
|
||||
Any suggestions would greatly be appreciated.
|
||||
|
||||
Note: in previous versions, any unrecognized lines in the slapd.conf
|
||||
file were passed to the perl module's config method. Now,
|
||||
unrecognized lines are rejected as errors, and the perlModuleConfig
|
||||
directive must be used to invoke the module's config method.
|
||||
.SH FILES
|
||||
.TP
|
||||
ETCDIR/slapd.conf
|
||||
|
|
|
|||
Loading…
Reference in a new issue