[turba] Failed to connect to the specified directory

TOM GERMIAT TOM.GERMIAT@menasha.com
Tue, 21 May 2002 14:27:15 -0500


Using:
I tried this in the IMP list.  No response.  I guess it belongs here.

Horde 2.0
IMP 3.0
Turba 1.0
PHP 4.2.0
Apache 1.3.22
MySQL 3.22.32
OpenLDAP 2.0.23

We have the LDAP directory connection configured and working properly, but when choosing My Addressbook and then trying to either search or add we get the message "Failed to connect to the specified directory."  

horde/turba/config/sources.php is properly configured, even adding the curiously absent 'socket' entry.
$cfgSources['localsql'] = array(
    'title' => 'My Addressbook',
    'type' => 'sql',
    'params' => array(
        'phptype' => 'mysql',
        'hostspec' => 'me20.menasha.com',
        'username' => 'horde',
        'password' => '********',
        'database' => 'horde',
        'options' => '',
        'socket' => '',
        'tty' => '',
        'port' => '5432',
        'protocol' => 'unix',
        'table' => 'turba_objects'
    ),

This matches the settings in the horde/config/horde.php Preference System Settings.
$conf['prefs']['driver'] = 'sql';
$conf['prefs']['params'] = array();
$conf['prefs']['params']['phptype'] = 'mysql';
$conf['prefs']['params']['hostspec'] = 'me20.menasha.com';
$conf['prefs']['params']['username'] = 'horde';
$conf['prefs']['params']['password'] = '********';
$conf['prefs']['params']['database'] = 'horde';
$conf['prefs']['params']['table'] = 'horde_prefs';


MySQL is running, storing and retrieving preferences for accounts.  I've read everything on the list that's been written about this issue, but I've seen no solution.  Anyone?

Tom Germiat