[Kolab-devel] slapd.conf.template
Thomas Spuhler
thomas at btspuhler.com
Sun Jan 17 16:23:43 CET 2010
On Sunday 17 January 2010 04:16:47 am Richard Bos wrote:
> Op zondag 17 januari 2010 04:35:45 schreef Thomas Spuhler:
> > > See what happens with patch applied. If it still fails, more info is
> > > needed.
> >
> > 1. This patch worked as making this:
> > /etc/openldap/slapd.conf:
> > modulepath /user/lib/openldap
> > moduleload back_bdb
> > moduleload back_monitor
> > moduleload refint
> > moduleload unique
>
> OK
>
> > But this line needs to go:
> > modulepath /user/lib/openldap
> > otherwise it cannot find module back_monitor.
>
> Can you provide a content list of the directory /user/lib/openldap
> Perhaps you should use back_monitor.la to load the monitor. What happens
> when the reverse the order of the back_ modules, like this:
> moduleload back_monitor
> moduleload back_bdb
> moduleload refint
> moduleload unique
>
> > 2. This patch did not fix this line in slap.access.template and
> > slap.replicas.template
> > @@@print getLDAPAccess()@@@
>
> This is correct. The @@@print <argument>@@@ (here getLDAPAccess is the
> argument) instruction, is interpreted by kolabconf. It prints the output
> of getLDAPAccess.
>
> See (in perl-ldap):
> ChangeLog: * lib/Kolab/Conf.pm, sbin/kolabconf.in: new @@@print@@@
> macro
> lib/Kolab/Conf.pm: # @@@print func([arg])@@@
> (line 202)
slaptest
/etc/openldap/slapd.conf: line 28: <replica-pidfile> keyword is obsolete
(ignored)
/etc/openldap/slapd.conf: line 29: <replogfile> keyword is obsolete (ignored)
/etc/openldap/slapd.conf: line 30: <replicationinterval> keyword is obsolete
(ignored)
/etc/openldap/slapd.conf: line 65: <replica> keyword is obsolete (ignored)
/etc/openldap/slapd.access: line 10: unknown directive <@@@print> inside
backend database definition.
slaptest: bad configuration file!
--
Thomas
More information about the devel
mailing list