View Single Post
  #1  
Old September 4th, 2002, 12:51 PM
rharder's Avatar
rharder rharder is offline
Do not read this sign.
 
Join Date: Mar 2001
Location: Virginia, USA
Posts: 1,186
Thanks: 0
Thanked 0 Times in 0 Posts
rharder is on a distinguished road
Yes, you CAN share your Address Book with LDAP!

It's a round-about way, and I'm writing an AppleScript to make it easier, but basically you can use the 'nicl' command to create a NetInfo database that consists wholly of your Address Book names, emails, and phone numbers. Then you tell your /etc/openldap/slapd.conf file to read this "NetInfo" datasource, and voila: your Address Book is available to other family members, work associates, hackers, etc. Of course you don't get live updates as you update your Address Book, but you can always "sync" your phony NetInfo database file whenever you need to.

If you want to jump the gun, start playing around with commands like this:
Code:
% nicl -raw addressbook.nidb -create
% nicl -raw addressbook.nidb -create /users
% nicl -raw addressbook.nidb -create /users/id1234
% nicl -raw addressbook.nidb -create /users/id1234 realname "John Doe"
% nicl -raw addressbook.nidb -create /users/id1234 mail john@doe.com
% nicl -raw addressbook.nidb -create /users/id1234 phonenumber 444-555-1212
I'll post the AppleScript as soon as I finish it. I'm maybe a day or two away.

-Rob
__________________
There are only 10 kinds of people in the world:
Those who understand binary, and those who don't.
Reply With Quote