I am having address book issue from LDAP. here is my config for address book and the error:
$rcmail_config['address_book_type'] = 'ldap';
$rcmail_config['ldap_public']['offaddress'] = array(
'name' => 'offaddress',
'hosts' => array('myldaphost'),
'port' => 389,
'use_tls' => false,
'user_specific' => false,
'base_dn' => 'dc=hi,dc=is',
'bind_dn' => 'uid=test,ou=People,dc=domain,dc=com',
'bind_pass' => 'mypassword',
'writable' => false,
'LDAP_Object_Classes' => array("top","inetOrgPerson"),
'required_fields' => array("cn", "mail"),
'LDAP_rdn' => 'mail',
'ldap_version' => 3,
'search_fields' => array('mail', 'cn'),
'email_field' => 'mail',
'displayname_field => 'displayName',
'sort' => 'cn',
'scope' => 'sub',
'filter' => 'cn',
'global_search' => true,
'fuzzy_search' => true,
);
$rcmail_config['autocomplete_addressbooks'] = array('offaddress');
so I am always getting this error :
PHP Fatal error: Call to a member function set_pagesize() on a non-object in /var/www/html/roundcube/program/steps/addressbook/func.inc on line 35
What i am doing wrong here, LDAP is an open LDAP. any hints ?
Madal