Use OpenDS for Thunderbird LDAP Address Book data

Trey Drake at Sun Microsystems has a quick little post for trying this with Apple Address Book:

http://blogs.sun.com/treydrake/entry/mac_address_book_and_opends

“Works like a charm” indeed, and doing the same with Thunderbird proves to be just as easy 🙂 Using the OpenDS setup instructions outlined in my Apache Roller post, and using Thunderbird 3.0 on OpenSolaris snv_134 x64, one simply configures an LDAP address book like so:

OpenDS LDAP Address Book in Thunderbird

By default OpenDS enables anonymous read/search access to the directory, so we don’t need to authenticate.

Additionally, I’ve set up my OpenDS server to run automatically as a service using SMF – the guide which I followed to achieve this is here:

https://docs.opends.org/2.2/page/ManagingTheDirectoryServerAsAnSMFServiceOpenSolarisOnly

The only problem I encountered after configuring the above was getting the ldap user to access the OpenDS control panel GUI without X server security errors. One has to use the xhost command to grant access to the X server for the ldap user:

$ xhost  
access control enabled, only authorized clients can connect
SI:localuser:gdm
SI:localuser:root

$ pfexec xhost +SI:localuser:ldap
localuser:ldap being added to access control list

$ xhost                          
access control enabled, only authorized clients can connect
SI:localuser:ldap
SI:localuser:gdm
SI:localuser:root

After which I could launch the OpenDS control-panel application as the ldap user fine – although I haven’t determined yet how to make this persistent across reboots or desktop logins.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s