Hugo,

> I'd like to share my addressbook between applications, so I'd like to 
> use more generic attribute name of my own instead of
> mozillaNickname, mozillaHomePostalAddress2, mozillaHomePostalCode, etc ....
> how can i change this default behaviour without recompiling mozilla?

In the absence of some sort of preference UI to allow users to
do the mapping, you need to recompile. Incidently, you appear to be 
using the proposed ldap attibute names as outlined in the proposed
new official schema in:
http://bugzilla.mozilla.org/show_bug.cgi?id=116692

rather than the actual schema now located in:

http://lxr.mozilla.org/seamonkey/source/mailnews/addrbook/src/nsAbLDAPProperties.cpp

> other question, how mozilla ldap manage more than 2 email address? 
> (there are only mail and mozillaSecondEmail)

you either use the existing primaryMail amd secondaryMail fields to store 
multi-valued fields or alternatively use the custom fields.

john.

Reply via email to