[imp] Failed to connect to the specified directory - again
TOM GERMIAT
TOM.GERMIAT@menasha.com
Fri, 17 May 2002 12:01:21 -0500
---------------------- multipart/alternative attachment
Using:
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
When choosing Addressbook from within IMP:
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." =20
horde/turba/config/sources.php is properly configured, even adding the =
curiously absent 'socket' entry.
$cfgSources['localsql'] =3D array(
'title' =3D> 'My Addressbook',
'type' =3D> 'sql',
'params' =3D> array(
'phptype' =3D> 'mysql',
'hostspec' =3D> 'me20.menasha.com',
'username' =3D> 'horde',
'password' =3D> '********',
'database' =3D> 'horde',
'options' =3D> '',
'socket' =3D> '',
'tty' =3D> '',
'port' =3D> '5432',
'protocol' =3D> 'unix',
'table' =3D> 'turba_objects'
),
'map' =3D> array(
'__key' =3D> 'object_id',
'__owner' =3D> 'owner_id',
'name' =3D> 'object_name',
'email' =3D> 'object_email',
'homeAddress' =3D> 'object_homeAddress',
'workAddress' =3D> 'object_workAddress',
'homePhone' =3D> 'object_homePhone',
'workPhone' =3D> 'object_workPhone',
'cellPhone' =3D> 'object_cellPhone',
'fax' =3D> 'object_fax',
'title' =3D> 'object_title',
'company' =3D> 'object_company',
'notes' =3D> 'object_notes'
),
'search' =3D> array(
'name',
'email'
),
'strict' =3D> array(
'object_id'
),
'public' =3D> false,
'readonly' =3D> false,
'export' =3D> true
);
This matches the settings in the horde/config/horde.php Preference System =
Settings.
$conf['prefs']['driver'] =3D 'sql';
$conf['prefs']['params'] =3D array();
$conf['prefs']['params']['phptype'] =3D 'mysql';
$conf['prefs']['params']['hostspec'] =3D 'me20.menasha.com';
$conf['prefs']['params']['username'] =3D 'horde';
$conf['prefs']['params']['password'] =3D '********';
$conf['prefs']['params']['database'] =3D 'horde';
$conf['prefs']['params']['table'] =3D 'horde_prefs';
Furthermore, 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
---------------------- multipart/alternative attachment
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Diso-8859-1"=
>
<META content=3D"MSHTML 5.50.4913.1100" name=3DGENERATOR></HEAD>
<BODY style=3D"MARGIN-TOP: 2px; FONT: 8pt Tahoma; MARGIN-LEFT: 2px">
<DIV><FONT size=3D1>Using:</FONT></DIV>
<DIV><FONT size=3D1></FONT> </DIV>
<DIV><FONT size=3D1>Horde 2.0</FONT></DIV>
<DIV><FONT size=3D1>IMP 3.0</FONT></DIV>
<DIV><FONT size=3D1>Turba 1.0</FONT></DIV>
<DIV><FONT size=3D1>PHP 4.2.0</FONT></DIV>
<DIV><FONT size=3D1>Apache 1.3.22</FONT></DIV>
<DIV><FONT size=3D1>MySQL 3.22.32</FONT></DIV>
<DIV><FONT size=3D1>OpenLDAP 2.0.23</FONT></DIV>
<DIV><FONT size=3D1></FONT> </DIV>
<DIV><FONT size=3D1>When choosing Addressbook from within IMP:</FONT></DIV>=
<DIV><FONT size=3D1></FONT> </DIV>
<DIV><FONT size=3D1>We have the LDAP directory connection configured and =
working=20
properly, but when choosing My Addressbook and then trying to either =
search or=20
add we get the message "Failed to connect to the specified directory." =
;=20
</FONT></DIV>
<DIV><FONT size=3D1></FONT> </DIV>
<DIV><FONT size=3D1>horde/turba/config/sources.php is properly configured, =
even=20
adding the curiously absent 'socket' entry.</FONT></DIV>
<DIV><FONT size=3D1>$cfgSources['localsql'] =3D array(<BR>  =
; 'title'=20
=3D> 'My Addressbook',<BR> 'type' =3D>=20
'sql',<BR> 'params' =3D>=20
array(<BR> 'phptype' =3D>=20
'mysql',<BR> 'hostspec' =
=3D>=20
'me20.menasha.com',<BR> =
'username'=20
=3D> 'horde',<BR> 'password' =
=3D>=20
'********',<BR> 'database' =
=3D>=20
'horde',<BR> 'options' =3D>=20=
'',<BR> 'socket' =3D>=20
'',<BR> 'tty' =3D>=20
'',<BR> 'port' =3D>=20
'5432',<BR> 'protocol' =3D>=20=
'unix',<BR> 'table' =3D>=20
'turba_objects'<BR> ),<BR> 'map' =
=3D>=20
array(<BR> '__key' =3D>=20
'object_id',<BR> '__owner' =
=3D>=20
'owner_id',<BR> 'name' =3D>=20=
'object_name',<BR> 'email' =
=3D>=20
'object_email',<BR> 'homeAddress'=
=20
=3D> 'object_homeAddress',<BR> =
=20
'workAddress' =3D>=20
'object_workAddress',<BR> =
'homePhone'=20
=3D> 'object_homePhone',<BR> =
=20
'workPhone' =3D>=20
'object_workPhone',<BR> =
'cellPhone'=20
=3D> 'object_cellPhone',<BR> =
'fax'=20
=3D> 'object_fax',<BR> =
'title' =3D>=20
'object_title',<BR> 'company' =
=3D>=20
'object_company',<BR> 'notes' =
=3D>=20
'object_notes'<BR> ),<BR> 'search' =
=3D>=20
array(<BR> =20
'name',<BR> =20
'email'<BR> ),<BR> 'strict' =3D>=20
array(<BR> =20
'object_id'<BR> ),<BR> 'public' =
=3D>=20
false,<BR> 'readonly' =3D> false,<BR>  =
;=20
'export' =3D> true<BR>);<BR></FONT></DIV>
<DIV><FONT size=3D1></FONT> </DIV>
<DIV><FONT size=3D1></FONT> </DIV>
<DIV><FONT size=3D1>This matches the settings in the horde/config/horde.php=
=20
Preference System Settings.</FONT></DIV>
<DIV><FONT size=3D1>$conf['prefs']['driver'] =3D 'sql';<BR>$conf['prefs']['=
params']=20
=3D array();<BR>$conf['prefs']['params']['phptype'] =3D=20
'mysql';<BR>$conf['prefs']['params']['hostspec'] =3D=20
'me20.menasha.com';<BR>$conf['prefs']['params']['username'] =3D=20
'horde';<BR>$conf['prefs']['params']['password'] =3D=20
'********';<BR>$conf['prefs']['params']['database'] =3D=20
'horde';<BR>$conf['prefs']['params']['table'] =3D 'horde_prefs';<BR></FONT>=
</DIV>
<DIV><FONT size=3D1></FONT> </DIV>
<DIV><FONT size=3D1>Furthermore, MySql is running, storing and =
retrieving=20
preferences for accounts. </FONT><FONT size=3D1>I've read everything =
on the=20
list that's been written about this issue, but I've seen no solution. =
=20
Anyone?</FONT></DIV>
<DIV><FONT size=3D1></FONT> </DIV>
<DIV><FONT size=3D1>Tom Germiat</FONT></DIV>
<DIV> </DIV></BODY></HTML>
---------------------- multipart/alternative attachment--