fetching from LDAP should escape results
This issue is related to openfire not escaping field when fetching via LDAP. So it fails on loadUser when it checks if name contains '@'. Here is a patch for fixing this https://www.dropbox.com/s/lcwld46a1mje5x4/Fix_userFieldName_fetched_from_LDAP_no t_escaped.patch
Reviewed and applied patch provided by StanK.