Previous Topic: Specify Database Directives

Next Topic: Restart the OpenLDAP Server

Test the Configuration File

Testing the configuration file ensures that it is correctly formatted.

To test the configuration file

  1. Change the directory to the OpenLDAP server directory.
  2. Run the following command:
    ./slapd
    

    Note: Unless you specified a debugging level, including level 0, slapd automatically forks, detaches itself from its controlling terminal, and runs in the background.

  3. Run the following command:
     ./slapd -Tt
    

    The slapd configuration file is tested.