# # Defaults file for slapd # /etc/default/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 # And the newest version of tcmalloc is the best of all worlds. # Use it if is available. if [ -e /usr/lib/x86_64-linux-gnu/libtcmalloc_minimal.so.4 ] then export LD_PRELOAD="/usr/lib/x86_64-linux-gnu/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:///"