Home > Articles > Operating Systems, Server > Linux/UNIX/Open Source

  • Print
  • + Share This
From the author of

Getting Comfortable with LDAP—Starting and Stopping the Server

It's easy to start and stop the OpenLDAP server. To stop it, just type

sudo /etc/init.d/slapd stop

As usual, you'll be prompted for the password (the default is "thoughtpolice"). To verify that the server has indeed been stopped, you can again run the command we met earlier:

ps auwx _ grep slapd

To start the OpenLDAP server, type this command:

sudo /etc/init.d/slapd start

The sudo command caches the password for 15 minutes, so if you're quick about the above commands you won't be prompted for the password again! Let's now use one of the OpenLDAP utilities.

  • + Share This
  • 🔖 Save To Your Account