Hi,

I tryed to use the LDAP addressbook, I confgure main.inc.php :

$rcmail_config['ldap_public']['Laboratoire'] = array(
  'name'          => 'Laboratoire',
  'hosts'         => array('myhostname'),
  'port'          => 389,
  'base_dn'       => 'ou=Users,dc=mydomain',
  'bind_dn'       => '',
  'bind_pass'     => '',
'search_fields' => array('mail', 'cn','gecos','mailALternateAddress'), // fields to search in
  'name_field'    => 'cn',    // this field represents the contact's name
  'email_field'   => 'mail',  // this field represents the contact's e-mail
  'scope'         => 'sub',   // search mode: sub|base|list
#'filter' => '(accountStatus=active)', // will be &'d with search field ex: (status=act)
  'fuzzy_search'  => 'true');   // server allows wildcard search


When I want to display the list of email which are in the LDAP's addressbook the page is empty but when I search someone I get a result.

Do you have suggestions ?

Sincerely

--
____________________________

Renaud Hager - Administrateur Systèmes et Réseaux
CNRS - UMR 8504 Géographie-cités
13, rue du Four F-75006 PARIS
Tel. 33 (0)1 40 46 40 02 - Fax 33 (0)1 40 46 40 09
E-mail: [EMAIL PROTECTED]
begin:vcard
fn:Renaud Hager
n:Hager;Renaud
org:CNRS : UMR 8504
adr:;;13 rue du four;Paris;;75006;France
email;internet:[EMAIL PROTECTED]
title;quoted-printable:Administrateur Syst=C3=A8mes et r=C3=A9seaux
tel;work:01 40 46 40 02
url:http://www.parisgeo.cnrs.fr
version:2.1
end:vcard

Reply via email to