Behind the scenes, all Directory Server settings are stored in the openfire.xml
file found in the /conf
directory. Although it's absolutely fine to use the web-based user interface provided by Openfire's setup, you can also add these settings directly in the Openfire config file. This is especially useful when there's a change in your Directory Server settings and you don't want to re-run the whole Openfire setup.
Here's a section of the openfire.xml file pertaining to the directory server.
<ldap> <host>192.168.2.24</host> <port>389</port> <baseDN>cn=Users;dc=bhx,dc=office-on-the,dc=net</baseDN> <adminDN>cn=Administrator,cn=Users;dc=bhx, dc=office-on-the,dc=net</adminDN> <adminPassword>something-more-complex-that-this</adminPassword> <usernameField>sAMAccountName</usernameField> <searchFilter>(objectClass=organizationalPerson)</searchFilter> <vcard-mapping><![CDATA...