Mark Banner wrote: > I have been looking at what it will take to implement write-access to > LDAP directories within the Mozilla Address Book (SeaMonkey & Thunderbird). > > One of the areas that I have to work out a resolution for, is what > should the dn field consist of? > > For instance, currently my local LDAP server is set up so that dn is: > > dn: cn=Users Common Name,dc=intranet > > The address book currently exports it as: > > dn: cn=Users Common Name,mail=Users Primary Email > > So, what should I set the dn to? Is there any real standard? What do > other servers/clients do in these instances?
I don't think there is a standard. Common advice seems to be to avoid cn in dn, since cn is hard to get unique and at the same time satisfy the users needs for a "fullname" field. Writing addressbook data to LDAP-servers seems like an area which desperately needs standardization. Contact info in general is a big mess. There's no good general mapping between the vCard standard and inetOrgPerson standard and several often needed fields are not standard at all (like IM accounts). I whish someone would sit down, and define once and for all a good XML format for addressbook data and provide a 1-1 mapping to a LDAP Schema. Peter _______________________________________________ dev-tech-ldap mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-ldap
