I’ve had a few comments on my earlier post with the request that I finish documenting the steps to get the SquirrelMail address book to show LDAP users from OpenDirectory in Leopard server. Here it is:
First, I uncommented the LDAP section as provided in the SquirrelMail configuration at /etc/squirrelmail/config/config.php, but it was missing one parameter, for the protocol. Actually you don’t need to have that with 10.4 if you use the “V2 compatible” option in OpenDirectory. On 10.5 you no longer have that option and need to specify LDAP V3 in the SquirrelMail config file:
$ldap_server = Array( 'host' => 'your.ldapserver.com', 'name' => 'My Server's Address Book', 'base' => 'dc=your,dc=ldapserver,dc=com', 'protocol' => 3 );
To access the address book, you cannot just click on the “Addresses” link at the top of the page. You have to click “Compose” first. Then click on the “Addresses” button above the message text field. You can chose to show your private address book, the LDAP directory on your server (it will show as the text you put in the ‘name’ field in the configuration above) or all of them. Click list all and you get everyone, or search for names.
Hope this helps.