def getOldEntryMap(folder):
    files = os.listdir(folder)
    dnMap = {}
    for fn in files:
        if (fn == "site.ldif") or (fn == "people.ldif"):
            continue
        dnList = getDns("%s/%s" % (folder,fn))
        for dn in dnList:
            dnMap[dn] = fn
    return dnMap
dataset/ETHPy150Open GluuFederation/community-edition-setup/static/scripts/import23.py/getOldEntryMap/original