Hi,
I'm having a little trouble with address book groups. I think I'm really looking for a little clarification on expected functionality and help with my current set up.
I'm running Roundcube 0.7 with individual's contacts stored in an LDAP directory (OpenLDAP). For the most part it is working great - big thank you to the devs : )
I have a 'Private Address Book' and all contacts are listed under 'Contacts' in the next column, great. I can also add groups, which are then nested under the 'Private Address Book' and adding contacts to those groups seems to work well also.
However, selecting one of the nested groups does not display any of the members under the 'Contacts' column - Should it?. There is a count at the bottom ('Contact 1 to 11 of 11', for example) but it is always one higher than the number of contacts in the group.
Also, adding a group to the 'to' field when composing a message does not seem to work. Typing 'my g' brings up 'My Group (2)' correctly (apart from the number of contacts in the group) but when I select it, it is replaced with a ','.
Here are the appropriate sections of my config, I'd be grateful of any help:
$rcmail_config['ldap_public']['Private'] = array( 'name' => 'Private Address Book', 'hosts' => array('my.server.com'), 'port' => 389, 'use_tls' => true, 'ldap_version' => 3, 'user_specific' => true, 'base_dn' => 'ou=Address Book,cn=%fu,%dc', 'bind_dn' => 'cn=%fu,%dc', 'bind_pass' => '', 'search_base_dn' => '', 'search_filter' => '', 'search_bind_dn' => '', 'search_bind_pw' => '', 'search_dn_default' => '', 'auth_cid' => '', 'auth_method' => '', 'hidden' => false, 'searchonly' => false, 'writable' => true, 'LDAP_Object_Classes' => array("top", "person", "inetOrgPerson", "organizationalPerson", "evolutionPerson"), 'LDAP_rdn' => 'cn', 'required_fields' => array("cn", "sn"), 'search_fields' => array('cn'),
'sort' => 'cn', 'scope' => 'one', 'filter' => '(objectClass=evolutionPerson)', 'fuzzy_search' => true, 'vlv' => false, 'numsub_filter' => '(objectClass=organizationalUnit)', 'sizelimit' => '0', 'timelimit' => '0', 'referrals' => true|false,
'groups' => array( 'base_dn' => 'ou=Groups,cn=%fu,%dc', 'filter' => '(objectClass=groupOfNames)', 'object_classes' => array("top", "groupOfNames"), 'member_attr' => 'member', 'name_attr' => 'cn',
As you can see, the structure of my LDAP directory is like this:
ou=Address Book,cn=username@server.com,dc=server,dc=com ou=Groups,cn=username@server.com,dc=server,dc=com