Stop openldap server.

    >>> import os
    >>> PIDFILE = os.environ.get('LDAPPIDFILE')
    >>> with open(PIDFILE) as pidfile:
    ...     pid = pidfile.readline()
    >>> pid = int(pid.strip())
    >>> import os
    >>> os.kill(pid, 9)
  
Flush openldap db files.

    >>> dbdir = os.environ.get('DBDIR')
    >>> for file in os.listdir(dbdir):
    ...     os.remove('%s/%s' % (dbdir, file))
    >>> os.listdir(dbdir)
    []