The example leaves some to be desired if
you’re using AD. Here’s a edited copy of what I’m using for
mine.
$rcmail_config['ldap_public']['LOGH'] =
array(
'name' => 'Company Name Here',
'hosts' => array('IP.OF.AD_LDAP.SERVER'),
'port' => 3268, // This port
seems to work better
'base_dn' => 'DC=internal,DC=domain,DC=com',
'bind_dn' => 'CN=ldap-user,CN=Users,DC=internal,DC=domain,DC=com',
// Create a non-privledged account for querying the ldap
'bind_pass' => 'ldap-user-pass',
// use the non-priv accounts password
'search_fields' => array('mail',
'cn'),
'name_field' => 'cn', // this
field represents the contact's name
'firstname_field' => 'givenName', //
this field represents the contact's first name
'surname_field' => 'sn', // this
field represents the contact's last name
'email_field' => 'mail', // this
field represents the contact's e-mail
'scope' => 'sub', // search
mode: sub|base|list
'filter' =>
'(&(mail=*)(!(msExchHideFromAddressLists=TRUE)))', // all mail, except the
exchange hidden
'fuzzy_search' => TRUE); // server
allows wildcard search
From: Rene van den
Berg [mailto:renevdb@hotmail.com]
Sent: Thursday, November 15, 2007
2:18 PM
To: Bazy;
users@lists.roundcube.net
Subject: Re: [RCU] ldap address
book
Yes, it can.
There is an example in the configuration file.
> Date: Thu, 15 Nov 2007 13:33:56 +0200
> From: bazy@goofy.celuloza.ro
> To: users@lists.roundcube.net
> Subject: [RCU] ldap address book
>
> Hello people,
>
> I looked over the roundcube website for ldap address book support but
> didn't find anything...
>
> Can roundcube mail search a ldap address book?
>
>
>
>
> Thank you,
>
> _______________________________________________
> List info: http://lists.roundcube.net/users/
Climb to the top of the charts! Play Star
Shuffle: the word scramble challenge with star power. Play Now!