Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#
# Defaults file for slapd
# Use hoard memory manager it if is available.
if [ -e /usr/lib/libhoard.so ]
then
export LD_PRELOAD="/usr/lib/libhoard.so"
fi
# tcmalloc is preferred. Use it if is available.
if [ -e /usr/lib/libtcmalloc_minimal.so.0 ]
then
export LD_PRELOAD="/usr/lib/libtcmalloc_minimal.so.0"
fi
# And the newest version of tcmalloc is the best of all worlds.
# Use it if is available.
if [ -e /usr/lib/libtcmalloc_minimal.so.4 ]
then
export LD_PRELOAD="/usr/lib/libtcmalloc_minimal.so.4"
fi
# Specify a sentinel file that matches current practice
SLAPD_SENTINEL_FILE=/etc/noldap
# Location of the keytab
export KRB5_KTNAME=/etc/krb5.keytab
## for multimaster, all masters also replicate from each other
# Location of the ticket cache used by replicas for syncrepl
export KRB5CCNAME=/var/run/ldap_syncreplica.tkt
# Unlimited size of core files
ulimit -c unlimited
# Increase the number of open file descriptors
ulimit -n 16384
# Point at the new configuration directory
SLAPD_CONF=/etc/ldap/slapd.d/
# Listen on ports 389 and 636.
SLAPD_SERVICES="ldap:/// ldaps:///"