Author Topic: LDAP Configuration for Active Directory  (Read 4110 times)

Offline aevangelista

  • Jr. Member
  • **
  • Posts: 12
LDAP Configuration for Active Directory
« on: February 22, 2007, 11:18:32 AM »
Could someone please shed some light on the proper configuration settings needed to view Active Directory Users as an address book. I have tried the following settings and cannot seem to get the Address Book to populate.


Code: [Select]
$rcmail_config['ldap_public'][AddressBookName'] = array('hosts'     => array('LDAPhostname'),
                          'port'     => 389,
                          'base_dn'    => 'cn=users,dc=example,dc=com',
                          'search_fields' => array('Email' => 'mail', 'Name' => 'cn'),
                          'name_field'  => 'cn',
                          'mail_field'  => 'mail',
                          'scope'     => 'sub',
                          'fuzzy_search' => 1);

obviously this is just an example and my real code settings include my hostname and domain settings.