You can use zmprov to change global config via:
Code:
zmprov mcf attr1 value1 [attr2 value2...]
When changing multi-value attributes with zmprov, you currently need to specify all of them in one modify, as they are all replaced. So you'll have to do something like:
Code:
zmprov mcf zimbraGalLdapAttrMap a=b zimbraGalLdapAttrMap c=d ...
For this particular case it is also safe to modify those values directly in LDAP if you'd like (via ldapmodify, etc). You'll need to restart the server to have it pick up the changes.
To map other fields, you can probably look at Contact.java (server) or ZmContact.js (client code) to see the fields we currently support in the UI.
I'll include the ones from ZmContact.js here.
Code:
ZmContact.F_assistantPhone = "assistantPhone";
ZmContact.F_callbackPhone = "callbackPhone";
ZmContact.F_carPhone = "carPhone";
ZmContact.F_company = "company";
ZmContact.F_companyPhone = "companyPhone";
ZmContact.F_email = "email";
ZmContact.F_email2 = "email2";
ZmContact.F_email3 = "email3";
ZmContact.F_fileAs = "fileAs";
ZmContact.F_firstName = "firstName";
ZmContact.F_homeCity = "homeCity";
ZmContact.F_homeCountry = "homeCountry";
ZmContact.F_homeFax = "homeFax";
ZmContact.F_homePhone = "homePhone";
ZmContact.F_homePhone2 = "homePhone2";
ZmContact.F_homePostalCode = "homePostalCode";
ZmContact.F_homeState = "homeState";
ZmContact.F_homeStreet = "homeStreet";
ZmContact.F_homeURL = "homeURL";
ZmContact.F_jobTitle = "jobTitle";
ZmContact.F_lastName = "lastName";
ZmContact.F_middleName = "middleName";
ZmContact.F_mobilePhone = "mobilePhone";
ZmContact.F_namePrefix = "namePrefix";
ZmContact.F_nameSuffix = "nameSuffix";
ZmContact.F_notes = "notes";
ZmContact.F_otherCity = "otherCity";
ZmContact.F_otherCountry = "otherCountry";
ZmContact.F_otherFax = "otherFax";
ZmContact.F_otherPhone = "otherPhone";
ZmContact.F_otherPostalCode = "otherPostalCode";
ZmContact.F_otherState = "otherState";
ZmContact.F_otherStreet = "otherStreet";
ZmContact.F_otherURL = "otherURL";
ZmContact.F_pager = "pager";
ZmContact.F_workCity = "workCity";
ZmContact.F_workCountry = "workCountry";
ZmContact.F_workFax = "workFax";
ZmContact.F_workPhone = "workPhone";
ZmContact.F_workPhone2 = "workPhone2";
ZmContact.F_workPostalCode = "workPostalCode";
ZmContact.F_workState = "workState";
ZmContact.F_workStreet = "workStreet";
ZmContact.F_workURL = "workURL";
thanks, roland