def deleteEntries(dn_list):
    for dn in dn_list:
        cmd = [ldapdelete] + ldap_creds + [dn]
        output = getOutput(cmd)
        if output:
            logIt(output)
        else:
            logIt("Error deleting %s" % dn)
dataset/ETHPy150Open GluuFederation/community-edition-setup/static/scripts/import23.py/deleteEntries/original