|
#1
| ||||
| ||||
| 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 -Rob
__________________ There are only 10 kinds of people in the world: Those who understand binary, and those who don't. |
|
#2
| |||
| |||
| I thought the point of using LDAP was to getaway from NetInfo?
__________________ ~Cabbage |
|
#3
| ||||
| ||||
| Yes, that's how Apple uses it, if you have it configured that way for your network. You can have your login name and password served up from an LDAP server or something, but for the rest of us, it can be useful to share our addressbook with other users (like family). Attached is the script. It creates an AddressBook.nidb folder in your Documents folder (you can move it). Then you update your /etc/openldap/slapd.conf file to point to that AddressBook.nidb folder instead of /var/db/netinfo/network.nidb, and voila you have an LDAP server giving up your email and phone numbers. Of course you have to start the ldap server with something like sudo /usr/libexec/slapd or by adding LDAPSERVER=-YES- to /etc/hostconfig and restarting. -Rob
__________________ There are only 10 kinds of people in the world: Those who understand binary, and those who don't. |
|
#4
| ||||
| ||||
| I've refined the script a bit. Cheers. -Rob
__________________ There are only 10 kinds of people in the world: Those who understand binary, and those who don't. |
|
#5
| |||
| |||
| Address Book X LDAP You might find ABxLDAP very useful to keep you LDAP directory updated. It synchronised your LDAP directory as / when changes are mode to the clients local Address Book. Instructions for configuring and using LDAP on both OS X and OS X server are also available on the web site, although some require a medium level of comfort with terminal :-) On the same website you can also get Address Book Server which uses a relational database instead and synchronised in both directions. The web site is : http://www.addressbookserver.com Have fun Alex |
![]() |
| Thread Tools | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| LDAP directories in Address Book | Dekatophil | Mac OS X System & Mac Software | 0 | August 16th, 2003 04:11 AM |
| converting quickmail address book for Apple Mail | wapstar | Mac OS X System & Mac Software | 0 | May 21st, 2003 03:17 PM |
| Modem and reboot | kgraph | Mac OS X System & Mac Software | 10 | March 22nd, 2003 07:20 AM |
| Disable Sent Mail Addresses in Address Book? | dricci | Mac OS X System & Mac Software | 1 | April 21st, 2002 03:43 PM |
| Any LDAP address book software? | rharder | Mac OS X System & Mac Software | 0 | June 21st, 2001 06:02 AM |