Hi Thomas, > I cannot find any way to change LDAP-mapping in OO 3.2.1 (OpenLDAP). In > Thunderbird I can map every field successful with user.js. > > For OO I did this: http://docs.sun.com/app/docs/doc/817-7496/fjdcg?a=view > > - LDAP.xcu i.e. with "Mapping": <value>mapping</value> > > - mapping-attr.map i.e. with this: > org.openoffice.UserProfile/Data/c = registeredAddress > > I don't get any data from "registeredAddress". I can change whatever I > want from fields used in UserProfile.xcs, there is no change... I am > also confused about this fields (<-> fields in UserProfile.xcs ?): > http://dba.openoffice.org/FAQ/LDAP_field_mapping.html > > Any idea, what I am doing wrong?
First, you're mixing up two different things :) The documentation at docs.sun.com talks about user profile data in a multi-user installation of StarOffice. LDAP_field_mapping.html talks about the field mapping used by the LDAP address book driver. I suppose the latter - LDAP address book access - is what you're interested in, really. Then the second problem is that LDAP_field_mapping.html is out of date :-\ Since LDAP address book access is implemented using Mozilla code, tweaking the mapping is two-step: First, locate mailnews.js in your installation: It controls how the Mozilla code translates LDAP fields into programmatic address book fields. Second (and probably optional), the org.openoffice.Office.DataAccess configuration (in a DataAccess.xcu file somewhere deep in the "share" folder in your installation, but also and preferably accessible programmatically) maps programmatic address book field names to UI column names. Those two together should give you control over what LDAP fields are actually displayed, and how. Ciao Frank -- ORACLE Frank Schönheit | Software Engineer | frank.schoenh...@oracle.com Oracle Office Productivity: http://www.oracle.com/office Komplementärin: ORACLE Deutschland Verwaltung B.V. Rijnzathe 6, 3454PV De Meern, Niederlande Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697 Geschäftsführer: Jürgen Kunz, Marcel van de Molen, Alexander van der Ven --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@dba.openoffice.org For additional commands, e-mail: dev-h...@dba.openoffice.org