[imp] Problems with Horde + IMP + LDAP Prefs

homa1978 at gmx.at homa1978 at gmx.at
Tue Mar 25 10:32:05 PST 2003


Hi Horde IMP Team !!!

First, thank you for the great webmail system you offer.

I have a new project with webmail and I need preferences stored in ldap.

I use Horse 2.2.1 and IMP 3.2. When I activate LDAP support in horde.php i
get following error:


Notice: Undefined offset: 0 in /home/httpd/htdocs/horde/lib/Prefs/ldap.php
on line 372

Warning: Invalid argument supplied for foreach() in
/home/httpd/htdocs/horde/lib/Prefs/ldap.php on line 378

Warning: ldap_mod_replace(): Modify: Undefined attribute type in
/home/httpd/htdocs/horde/lib/Prefs/ldap.php on line 464

Warning: Cannot modify header information - headers already sent by (output
started at /home/httpd/htdocs/horde/lib/Prefs/ldap.php:372) in
/home/httpd/htdocs/horde/imp/redirect.php on line 99

I login via IMP (IMAP) with no users in ldap only preferences should be
stored.

When I try to relogin i get in and can store informations in the ldap
database. Please con you help me. I searched the mailinglist and found some
entries
but no solutions.

my horde.php :
// This is an example configuration for an LDAP preference backend.
// The schemas needed for ldap are in horde/scripts/ldap.  For more
// information see sources and comments in horde/lib/Prefs/ldap.php.
$conf['prefs']['driver'] = 'ldap';
$conf['prefs']['params']['hostspec'] = 'localhost';
$conf['prefs']['params']['port'] = '389';
$conf['prefs']['params']['basedn'] = 'dc=hordeprefs,dc=app';
$conf['prefs']['params']['uid'] = 'uid';
/*
 * The following is valid but would only be necessary if users
 * do NOT have permission to modify their own ldap accounts.
 */
$conf['prefs']['params']['rootdn'] = 'cn=Manager,dc=users,dc=app';
// $conf['prefs']['params']['username'] = 'Manager';
$conf['prefs']['params']['password'] = 'secret';


Thank you very much !!!

homa

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!



-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!



More information about the imp mailing list