[Tickets #9770] LDAP driver for Portal Block account info do not work
bugs at horde.org
bugs at horde.org
Fri Apr 1 10:29:23 UTC 2011
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/9770
------------------------------------------------------------------------------
Ticket | 9770
Created By | Klaus.Steinberger at Physik.Uni-Muenchen.DE
Summary | LDAP driver for Portal Block account info do not work
Queue | Horde Base
Version | 4.0-RC2
Type | Bug
State | Unconfirmed
Priority | 1. Low
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
Klaus.Steinberger at Physik.Uni-Muenchen.DE (2011-04-01 10:29) wrote:
The portal Block for Account info throws errors with LDAP driver:
Apr 1 12:18:32 dmz-sv-webmail HORDE: HORDE [horde] PHP ERROR:
Undefined index: params [pid 9310 on line 46 of
"/var/www/html/horde/lib/Block/Account.php"]
Apr 1 12:18:32 dmz-sv-webmail HORDE: HORDE [horde] PHP ERROR:
array_merge(): Argument #2 is not an array [pid 9310 on line 443 of
"/var/www/html/horde/lib/Block/Account.php"]
Apr 1 12:18:32 dmz-sv-webmail HORDE: HORDE [horde] PHP ERROR:
ldap_search(): Search: Bad search filter [pid 9310 on line 548 of
"/var/www/html/horde/lib/Block/Account.php"]
Apr 1 12:18:32 dmz-sv-webmail HORDE: HORDE [horde] PHP ERROR:
ldap_first_entry() expects parameter 2 to be resource, boolean given
[pid 9310 on line 549 of "/var/www/html/horde/lib/Block/Account.php"]
Apr 1 12:18:32 dmz-sv-webmail HORDE: HORDE [horde] PHP ERROR:
ldap_get_entries() expects parameter 2 to be resource, boolean given
[pid 9310 on line 550 of "/var/www/html/horde/lib/Block/Account.php"]
The reason is a mismatch between conf.php file an the code:
The code assumes parameters for LDAP in ['accounts']['params'] but the
configuration looks like this:
$conf['accounts']['basedn'] = 'ou=Personen,o=physik';
$conf['accounts']['scope'] = 'sub';
$conf['accounts']['attr'] = 'cn';
$conf['accounts']['strip'] = false;
$conf['accounts']['driverconfig'] = 'horde';
$conf['accounts']['driver'] = 'ldap';
$
More information about the bugs
mailing list