https://bugs.openldap.org/show_bug.cgi?id=9639
--- Comment #1 from Howard Chu hyc@openldap.org --- (In reply to dpa-openldap@aegee.org from comment #0)
`man slapd` - https://www.openldap.org/software/man. cgi?query=slapd&apropos=0&sektion=0&manpath=OpenLDAP+2.5- Release&arch=default&format=html - says that the -r option calls chroot.
Please clarify, what must be present in the chroot environment: /proc, /tmp, /dev/shm , libc
That depends entirely on your OS and how you built OpenLDAP. It's not our job to document how to use your own OS.