During the setup, the setup wizard occasionally gives an unqualified 'error' when trying to set up LDAP. No context is given, which leaves the end-user with no clue what to do.
Turns out that this happens when the HTTP session that's driving the setup wizard pages is somehow malformed (eg: missing a property).
Openfire should indicate so.