/usr/sbin/slaptest
Slaptest is used to check the conformance of the slapd configuration. It opens the slapd.conf configuration file or the slapd-config(5) backend, and parses it according to the general and the backend-specific rules, checking its sanity.