I have installed and configured OpenFire 4.0.2 on Calculate (Gentoo) Linux and Samba 4 AD on other server. LDAP auth and search work correctly.
Question: how I can add additional field in ldapVcard?
I want add Company Name field (ldap attr “company”). I find how do it for OpenFire 3.6 or above, but it not working on my 4.0.2 OpenFire server.
I try add this line in Server Manager, System Properties, ldap.vcard-mapping: {department} {company} . Try change lines places - but in Server Settings, Profile Settings, User mapping (2 step LDAP setup) no additional field “Organization” (or “Company”). If I change any existings value in ldap.vcard-mapping on {company} - it will given from AD correctly.
Try to reconfigure the server settings, sometimes that way helped me.
openfire install directory /openfire/conf/openfire.xml, open it and you have to set the true to flase. save it and do a restart, and afetr you have to fill the company field, if it has company field.