#!/bin/bash service slapd stop rm -r /var/lib/ldap/* dpkg-reconfigure slapd service slapd start