'Remove the ldap object at specified dn.'

def delete_ext_s(self, dn, serverctrls, clientctrls=None):

    if server_fail:
        raise ldap.SERVER_DOWN
    try:
        key = self.key(dn)
        LOG.debug('FakeLdap    delete    item:    dn=%s', common.utf8_decode(dn))
        del self.db[key]
    except KeyError:
        LOG.debug('delete    item    failed:    dn=%s    not    found.', common.utf8_decode(dn))
        raise ldap.NO_SUCH_OBJECT
    self.db.sync()
