Hi Ian On 2011-11-13, at 12:38 PM, Ian McMichael wrote:
> I've spent a few hours this afternoon trying to work out how the LDAP > attributes map to the fields displayed in the properties of the SOGo shared > address books. > > Take, for example, the Web Page field in the Work section of the Address tab > in the SOGo address book. If I fill this in the personal address book and > export it, the LDIF uses the schema mozillaAbPersonObsolete with the > attribute workurl. In my LDAP DIT I have the schema mozillaAbPersonAlpha > defined with the attribute mozillaWorkUrl populated. > > As the work URL was not displaying, I located and loaded the > mozillaAbPersonObsolete schema and updated the attribute to workurl. However, > this was also unsuccessful at displaying the value for the attribute in the > SOGo contact properties page. > > Is there a table anywhere that maps the SOGo address book fields to LDAP > attributes? This would save me many hours of experimentation. There's no such table yet but I can point you to the source code : The vCard to LDIF conversion is performed by the method "ldifString" in SoObjects/Contacts/NGVCard+SOGO.m. The LDIF to vCard conversion is performed by the method "vCard" in SoObjects/Contacts/SOGoContactLDIFEntry.m. Francis -- [email protected] :: +1.514.755.3640 :: http://www.inverse.ca Inverse :: Leaders behind SOGo (http://sogo.nu) and PacketFence (http://packetfence.org) -- [email protected] https://inverse.ca/sogo/lists
