'Delete the domain that this entry refers to.'

def delete(self):

    entries = self.lobj.search_s(self.dn, ldap.SCOPE_SUBTREE, '(aRecord=*)')
    for entry in entries:
        self.lobj.delete_s(entry[0])
    self.lobj.delete_s(self.dn)
