Openfire 4.2.0: Cannot login in admin console through LDAP

You are likely hitting this

can you restore from backup, fix the database and then upgrade again?