[Kolab-devel] slapd.conf.template
Richard Bos
ml at radoeka.nl
Sat Jan 16 22:20:05 CET 2010
Op zaterdag 16 januari 2010 18:15:04 schreef u:
> I have a heck of a time to get this working. I would like to have the
> native installation as close as possible to the openpkg, but a lot of
> things don't work out, mostly with openldap:
> 1. I put ldapserver_modulepath : /user/lib/openldap INTO
> /dist_conf/mandriva and get in
> /etc/kolab/kolab.globals: ldapserver_modulepath : /user/lib/openldap
As it uses @ldapserver_modulepath@
> 2. this results in the /etc/kolab/templates with:
> @@@if ldapserver_modulepath@@@
> modulepath @@/user/lib/openldap@@
>
> which seems correct
It is not, because it should: /user/lib/openldap
> 3. this results when trying to do a kolab-bootstrap -b in
> /etc/openldap/slapd.conf:
> modulepath @@/user/lib/openldap@@
> moduleload back_bdb
> moduleload back_monitor
> moduleload refint
> moduleload unique
>
> Why the @@?
> AND the @@ are in the other slapd.access and slapd.replcas to but there I
> have @@@
Because the template is wrong. I believe that the attached patch is needed.
Can you test it and report the results?
Reason is that the makefile replaces @if ldapserver_modulepath@ and not
@@@if ldapserver_modulepath@@@, see:
dist_conf> grep ldapserver_modulepath common
-e 's=[@]ldapserver_modulepath[@]=$(ldapserver_modulepath)=g' \
> 4. when taking the @@ off, the system cannot find the back_monitor module,
> BUT it is at the location. all the other modules load OK
> When taking modulepath @@/user/lib/openldap@@ off in slapd.conf and
the
> @@@ in the other two files as well, slaptest passes.
>
> I hate to patch these three files.
See what happens with patch applied. If it still fails, more info is needed.
--
Richard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: slapd.conf.template.in.modulepath.patch
Type: text/x-patch
Size: 385 bytes
Desc: not available
URL: <http://lists.kolab.org/pipermail/devel/attachments/20100116/917c413e/attachment.bin>
More information about the devel
mailing list