def METHOD_NAME():
    """Function that generates the LDAP schemas for OpenDJ from the
    gluu_schema.json and custom_schema.json and puts them in their respective
    folders.
    """
    opendj_folder = os.path.join(os.path.dirname(localdir), 'static/opendj/')
    fp = open(os.path.join(localdir, 'gluu_schema.json'), 'r')
    gluu_json = fp.read()
    fp.close()
    gen = SchemaGenerator(gluu_json)
    with open(os.path.join(opendj_folder, '101-ox.ldif'), 'w') as f:
        f.write(gen.generate_ldif())
    fp = open(os.path.join(localdir, 'custom_schema.json'), 'r')
    custom_json = fp.read()
    fp.close()
    gen = SchemaGenerator(custom_json)
    with open(os.path.join(opendj_folder, '77-customAttributes.ldif'), 'w') \
            as f:
        f.write(gen.generate_ldif())