Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Use a free LDAP server with Address Book Internet
There have been discussions about sharing Address Book contacts through LDAP, and there have been many suggestions such as running OpenLDAP, using .Mac, or running dedicated apps on your Mac. In this day and age of Google Apps, I would think that someone (Google?) would have come up with a shared LDAP server that is free or low cost. Yes, there's Plaxo, but it's not LDAP -- standards exist for a reason, and Apple has included LDAP client capabilities in Address Book for a while.

Then I stumbled on FreeLDAP.org. I think this is the only free LDAP server available on the Internet that could be used by multiple users accessing the same database. The setup instructions on the site do not work with the Mac's Address Book. However, while browsing through their forums, I found this setup which works for me on my 10.4 system.

First you have to signup for a new free account at freeLDAP.org, and remember the username and password. Then, in Address Book, go into Preferences » LDAP and choose New. Enter the following information:
  • Name: Freeldap.org (or anything you want)
  • Server: ds1.us.freeldap.org
  • Search Base: o=entic.net
  • Port: 389
  • Use SSL: Checked
  • Scope: Subtree
  • Authentication: uid=username, ou=people, o=entic.net
  • Password: whatever you chose for your account
  • Auth Type: Simple
Voila! You have a free web-based shared LDAP server. Now if there was a way to import existing Address Book entries to the server ... anyone?
    •    
  • Currently 2.67 / 5
  You rated: 2 / 5 (12 votes cast)
 
[66,042 views]  

Use a free LDAP server with Address Book | 14 comments | Create New Account
Click here to return to the 'Use a free LDAP server with Address Book' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Use a free LDAP server with Address Book
Authored by: LostInSpace2011 on Apr 29, '08 08:57:12AM
Take a look at Address Book X LDAP (ABxLDAP) available from www.addressbookserver.com. They also have instruction on getting OpenLDAP running on your own Mac, rather then shipping contact information to some external server. On the same website you will also find Address Book Server which support bi-directional sync, again allowing you full control of where you send your contacts to. www.addressbookserver.com

[ Reply to This | # ]
Use a free LDAP server with Address Book
Authored by: sphen on Apr 29, '08 09:55:47AM

nothing against this piece of software- but ive been following it for almost a year now and have tried it in various places. while the idea is sound and looks amazing (someting that apple should integrate!) each time i tried it never quite worked the way i envisioned.

maybe this has changed recently?



[ Reply to This | # ]
Use a free LDAP server with Address Book
Authored by: LostInSpace2011 on Apr 29, '08 11:08:03AM

Getting OpenLDAP configured can be a little tricky, especially if you not familiar with using Terminal and Unix commands. Also the Address Book does not provide access to all the attributes available in LDAP. ABS on the other hand support the complete Address Book schema. However Sphen is right in that there were several stages of enhancements.



[ Reply to This | # ]
Use a free LDAP server with Address Book
Authored by: sd on Apr 29, '08 01:05:30PM
Thanks for the tip.
But it will really valuable if there is a way to import contacts.
Maybe this
http://www.versiontracker.com/dyn/moreinfo/macosx/31525 ?


[ Reply to This | # ]
Use a free LDAP server with Address Book
Authored by: anilj on Apr 29, '08 07:25:27PM

Send me a copy of your address book (obfuscate it if you wish), we can work on doing an import for the application.

Thanks!

feedback@freeldap.org.



[ Reply to This | # ]
Just accept vCard or CSV..
Authored by: alexmathew on May 05, '08 02:05:49PM

I'll send you both - but vCard and CSV export is fairly standard.
Thanks for looking in..
AM



[ Reply to This | # ]
Use a free LDAP server with Address Book
Authored by: meitar on Apr 30, '08 12:07:45AM
This sounds utterly awesome, but I can't seem to get it to work in Mac OS X 10.5.2. I tried using the command line ldapsearch tool but that didn't work either. Specifically, I'm using Address Book.app at Version 4.1 (687.1). Here are the settings I've used in the LDAP preferences: Name: FreeLDAP.org Tests Server: ds1.us.freeldap.org Port: 636 (though I also tried to use 389) Use SSL: Checked (though I also tried unchecked—both port combinations) Allow self-signed certificates: Checked (though I also tried unchecked—both port combinations) Search Base: o=entic.net Scope: Subtree Authentication: Simple User name: uid=myusername, ou=People, o=entic.net Password: my password It's a no-go. The command line gives me error output like this:
SASL/EXTERNAL authentication started
ldap_sasl_interactive_bind_s: Unknown authentication method (-6)
	additional info: SASL(-4): no mechanism available: 
or like this if I try to use SSL (with the -Z flag to ldapsearch):
ldap_start_tls: Connect error (-11)
	additional info: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
What might be wrong, or is FreeLDAP.org simply not compatible with Mac OS X 10.5.x Leopard?

---
-Meitar Moscovitz
Professional: http://MeitarMoscovitz.com/
Personal: http://maymay.net/

[ Reply to This | # ]

Use a free LDAP server with Address Book
Authored by: kholburn on May 03, '08 05:16:43AM
You need to get the certificate and import it into keychain access and tell keychain access to accept it. This technique will only work for SSL ports. For TLS it won't work.

If necessary run this command in Termminal substituting the DNS name of your server for "host" and the port for 636 if it differs:
openssl s_client -connect "host:636" -showcerts  
If you get a bunch of text copy and paste the parts from the
-----BEGIN CERTIFICATE-----
until and including the
-----END CERTIFICATE-----
into a file called host.cert double clicking on host.cert should open keychain acess and allow you to accept the certificate.

[ Reply to This | # ]
Use a free LDAP server with Address Book
Authored by: meitar on Apr 30, '08 12:09:26AM

This sounds utterly awesome, but I can't seem to get it to work in Mac OS X 10.5.2. I tried using the command line ldapsearch tool but that didn't work either. Specifically, I'm using Address Book.app at Version 4.1 (687.1). Here are the settings I've used in the LDAP preferences:

Name: FreeLDAP.org Tests
Server: ds1.us.freeldap.org
Port: 636 (though I also tried to use 389)
Use SSL: Checked (though I also tried unchecked—both port combinations)
Allow self-signed certificates: Checked (though I also tried unchecked—both port combinations)
Search Base: o=entic.net
Scope: Subtree
Authentication: Simple
User name: uid=myusername, ou=People, o=entic.net
Password: my password

It's a no-go. The command line gives me error output like this:

SASL/EXTERNAL authentication started
ldap_sasl_interactive_bind_s: Unknown authentication method (-6)
	additional info: SASL(-4): no mechanism available: 

or like this if I try to use SSL (with the -Z flag to ldapsearch):

ldap_start_tls: Connect error (-11)
	additional info: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

What might be wrong, or is FreeLDAP.org simply not compatible with Mac OS X 10.5.x Leopard?

---
-Meitar Moscovitz
Professional: http://MeitarMoscovitz.com/
Personal: http://maymay.net/

[ Reply to This | # ]

Use a free LDAP server with Address Book
Authored by: alexnegvesky on Apr 30, '08 06:51:37AM
LDAP command line utilities can be a pain. Give this a try to connect to your LDAP server:

ldapsearch -x -Z -h ds1.us.freeldap.org -b o=entic.net -D uid=myusername,ou=People,o=entic.net -W "(ou=People)" uid

A quick explanation of the options:
-x use simple authentication instead of default SASL
-Z startTLS. You can remove this option if it is unnecessary
-h hostname
-b search base
-D distinguished name to bind to LDAP. Usually your uniquer username
-W will prompt you for your password
"(ou=People)" search the People ou. Use "(objectClass=*)" to search everything
uid filter out attributes and return only the uid

I highly recommend reading the man page or running "ldapsearch --help" to learn more about using this tool. Also, you can save time in the future by configuring your ldap commands to default to many of these values. Look at the man pages for "ldap.conf" and take a look at /private/etc/openldap/ldap.conf.

[ Reply to This | # ]
Use a free LDAP server with Address Book
Authored by: meitar on Apr 30, '08 10:38:18AM

Thanks for this tip! It turns out the issues were mostly caused by Address Book's weird behavior, now documented over on FreeLDAP.org's site:

http://forum.entic.net/punbb/viewtopic.php?pid=118#p118

The issue turned out to be mostly confusion caused by the fact that in apply any changes to any of the LDAP directory server settings in Address Book, you need to quit the application, then relaunch it. If you just change the directory's LDAP settings, but don't quit the application, all your searches for that directory are still actually using the settings you had previously and not the ones that the LDAP settings preference sheet are displaying to you. How very un-Apple-like! And yes, I've reported this to Apple through their web site feedback form

Still, thank you!

---
-Meitar Moscovitz
Professional: http://MeitarMoscovitz.com/
Personal: http://maymay.net/

[ Reply to This | # ]

Freeldap.org now does vCard import
Authored by: alexmathew on May 16, '08 12:17:16AM
Within a few days of my giving a sample vCard from Apple Addressbook to these guys (Anil!) - they have now implemented an import feature which work well.
Check out http://freeldap.org
You'll have to login to see the import feature.
Very responsive folks there.

[ Reply to This | # ]
Use a free LDAP server with Address Book
Authored by: brushfire on Jul 19, '08 08:02:12AM

This all sounds great...but I have over 50 GROUPS set up in my business to keep contacts in order.

Does ANYONE know of any way to have contacts shared (selectively through groups) to co-workers?

Pleaaaase help...



[ Reply to This | # ]
Use a free LDAP server with Address Book
Authored by: Sorkny on Sep 08, '08 08:17:56AM
An other such service is NetPIM online address book, although the ldap access is not free it only costs 2€/month which is quite cheap. It also offers much more than just address book, calendar, personal wiki, bookmarks (also accessible by LDAP, if you can find a use for it ;> ).
Their ldap docs are there: ldap address book.

[ Reply to This | # ]