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

RE: back-perl docs?



> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Paul Reilly
 
> Good to see that 2.1.3 has the back-perl fix :)
> 
> Is there any documentation/examples on using back-perl?
> There's no mention of backend modules in the manual, and
> only a simple example in the source code.

Check the manual again, specifically man5/slapd-perl.5. If you can't
get the simple example working there's not much point in writing a
more complex one, is there...

> Also what's the difference between the configure parameters
> "--enable-perl" and "--with-perl-module" ?

Backends are statically linked by default. The "--with-XXX-module" flag
can be used to select dynamic linking for a particular backend. It will
then be built as a shared library that can be explicitly loaded at runtime
using the "moduleload" directive in slapd.conf.

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support