On 06/13/2016 11:09 PM, Dmitry Katsubo wrote:
$rcmail_config['ldap_public']['public'] = array( 'name' => 'Public LDAP Addressbook', 'hosts' => array('localhost'), 'port' => 389, 'user_specific' => false, 'base_dn' => 'cn=persons,cn=corporate', 'scope' => 'one', 'filter' => '(objectClass=inetOrgPerson)', 'groups' => array( 'base_dn' => '', 'filter' => '(objectClass=groupOfNames)', 'object_classes' => array("top", "groupOfNames"), ), );
You need 'fieldmap' here. We could probably make it optional and provide something for inetOrgPerson, which is most common. For now, you have to define the mapping in config.