[imp] IMP LDAP warnings
Per Bothner
per@bothner.com
Thu, 13 Jun 2002 16:40:30 -0700
I've got IMP working, but I'm getting some troubling warnings.
After I log in to IMP 3.1, I get these messages:
Warning: LDAP: Unable to perform the search: No such object in
/var/www/html/horde/lib/Prefs/ldap.php on line 292
Warning: LDAP: modify operation could not be completed. in
/var/www/html/horde/lib/Prefs/ldap.php on line 415
Warning: Cannot add header information - headers already sent by (output
started at /var/www/html/horde/lib/Prefs/ldap.php:292) in
/var/www/html/horde/imp/redirect.php on line 84
My horde/config/horde.php cpntains the following. This is my
guess, since the documentation does not tell me what to do:
$conf['prefs']['driver'] = 'ldap';
$conf['prefs']['params']['hostspec'] = 'bothner.com';
$conf['prefs']['params']['port'] = '389';
$conf['prefs']['params']['basedn'] = 'dc=bothner,dc=com';
$conf['prefs']['params']['uid'] = 'mail';
Also, when I try the IMP test page I get the following, which I
assume is unrelated:
IMP Version
* IMP: 3.1
PHP Version
* View phpinfo() screen
* PHP Version: 4.1.2
* PHP Major Version: 4.1
* PHP Minor Version: 2
* PHP Version Classification: release
* You are running a supported version of PHP.
PHP IMAP Support Test
server="bothner.com" user="bothner" mailbox="{bothner.com:143}INBOX"
Warning: Couldn't open stream {bothner.com:143}INBOX in
/var/www/html/horde/imp/test.php on line 157
Warning: Supplied argument is not a valid imap resource in
/var/www/html/horde/imp/test.php on line 158
INBOX has messages ( new recent)
Warning: Supplied argument is not a valid imap resource in
/var/www/html/horde/imp/test.php on line 160
Any ideas?
--
--Per Bothner
per@bothner.com http://www.bothner.com/per/