Ads are not an endorsement by the blog author.

Tinkering

Public Journal
 Back to Journal Archives | Subscribe to Alerts Alerts Subscribe to Alerts | Feeds
< Printing from Mac
Tuesday, June 19, 2007
Centralised Mac a >
Sunday, December 2, 2007
July 2007
Centralised address book using LDAP
« July 2007 Archive
Sunday, July 22, 2007
9:03:00 AM EDT

Centralised address book using LDAP


This was my starting point, but Mandriva provides a wizard to get this started.  In retrospect they were not entirely compatible as they use different naming conventions.  I used the online info but changed "addressbook" into "People" "Manager" into "root".

I needed to add the Thunderbird schema.  I found a useful script to help convert the ldif export from Thurderbird so that it can be ldapadd-ed.  The last line needed to be changed to:
s/objectclass: mozillaAbPerson/objectclass: mozillaOrgPerson/;

To enable Mac's Addressbook.app to read, I need to add the apple.schema to my ldap.conf.  I then need this on how to rearrange it and had to uncomment several elements in samba.schema.

To enable uploading of address info from the Mac I turned to
ABxLDAP.
 This did not work out of the box, but the author advised to use the old abxldap schema for the time being and (aside from endless config mistakes on my side) worked.

The end result is, however, not yet satisfactory.  I don't at the moment see very careful synchronisation.  If I capitalise a letter in a name for example, that does not seem to be propagated (although the address book is now right).  Likewise, I seem to get entries left in the LDAP server even when the original has been deleted.  But it does seem to be a useful start.


Written by simhampton Blog about this entry
This entry has 0 comments: (Add your own)