Just a quick bug report now I know what’s happening:
If you have configured OpenFire for LDAP and go to the server settings and enter in a Base DN with spaces in it (e.g. OU=My Org Unit) then when saving it will have quotes added around it (e.g. OU=“My Org Unit”). When editing again however, it gets truncated at the first double-quote, so all that appears in the field is OU=
Even testing an OU with spaces will cause it to get cut off when the test is complete.
this is because spaces are not valid characters in LDAP strings. The quotes are for manually “fixing” bad pathing names by people using spaces. The admin web interface does not support space though, never has.