3 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
5 ## Copyright 1998-2005 The OpenLDAP Foundation.
6 ## All rights reserved.
8 ## Redistribution and use in source and binary forms, with or without
9 ## modification, are permitted only as authorized by the OpenLDAP
12 ## A copy of this license is available in the file LICENSE in the
13 ## top-level directory of the distribution or, alternatively, at
14 ## <http://www.OpenLDAP.org/license.html>.
15 if [ x"$MONITORDB" = xyes -o x"$MONITORDB" = xmod ] ; then
17 if [ $MONITORDB = mod ] ; then
25 if [ x"$WITH_SASL" = x"yes" -a x"$USE_SASL" != x"no" ] ; then
27 if [ x"$USE_SASL" = x"yes" ] ; then
30 SASL_MECH="\"saslmech=$USE_SASL\""
35 sed -e "s/@BACKEND@/${BACKEND}/" \
36 -e "s/^#${BACKEND}#//" \
37 -e "s/@RELAY@/${RELAY}/" \
38 -e "s/^#relay-${RELAY}#//" \
39 -e "s/^#${BACKENDTYPE}#//" \
40 -e "s/^#${AC_glue}#//" \
41 -e "s/^#${AC_ldap}#//" \
42 -e "s/^#${AC_meta}#//" \
43 -e "s/^#${AC_relay}#//" \
44 -e "s/^#${AC_sql}#//" \
45 -e "s/^#${RDBMS}#//" \
46 -e "s/^#${AC_pcache}#//" \
47 -e "s/^#${AC_ppolicy}#//" \
48 -e "s/^#${AC_refint}#//" \
49 -e "s/^#${AC_syncprov}#//" \
50 -e "s/^#${AC_translucent}#//" \
51 -e "s/^#${AC_unique}#//" \
52 -e "s/^#${AC_rwm}#//" \
54 -e "s/^#${MONMOD}#//" \
56 -e "s;@URI1@;${URI1};" \
57 -e "s;@URI2@;${URI2};" \
58 -e "s;@URI3@;${URI3};" \
59 -e "s;@URI4@;${URI4};" \
60 -e "s;@URI5@;${URI5};" \
61 -e "s;@URI6@;${URI6};" \
62 -e "s;@PORT1@;${PORT1};" \
63 -e "s;@PORT2@;${PORT2};" \
64 -e "s;@PORT3@;${PORT3};" \
65 -e "s;@PORT4@;${PORT4};" \
66 -e "s;@PORT5@;${PORT5};" \
67 -e "s;@PORT6@;${PORT6};" \
68 -e "s/@SASL_MECH@/${SASL_MECH}/" \
69 -e "s/@CACHETTL@/${CACHETTL}/" \
70 -e "s/@ENTRY_LIMIT@/${CACHE_ENTRY_LIMIT}/"