On Tue, Apr 8, 2014 at 7:21 AM, Zhang Huangbin zhbmaillistonly@gmail.com wrote:
Dear developer,
I'm testing ldap group address book with OpenLDAP and Roundcube webmail 1.0.0, looks like it doesn't replace %d by the real domain name of login username (a full email address).
My config file:
$config['ldap_public']['ldap_abook'] = array( ... 'user_specific' => true,
// Below two works as expected. 'base_dn' => 'domainName=%d,o=domains,dc=example,dc=com', 'bind_dn' => 'mail=%u@%d,ou=Users,domainName=%d,o=domains,dc=example,dc=com', ... 'groups' => array( 'base_dn' => 'domainName=%d,o=domains,dc=example,dc=com', ...
And here's debug message:
Apr 8 21:15:46 c6 roundcube: C: Search domainName=%d,o=domains,dc=example,dc=com for (&(objectClass=mailList)(accountStatus=active)(enabledService=displayedInGlobalAddressBook)) Apr 8 21:15:46 c6 roundcube: S: No such object
So it's the group's 'base_dn' which isn't fully replaced?
Please create a bug ticket at http://trac.roundcube.net
Kind regards, Thomas