Hi,
I am having problem with getting my LDAP to work with Roundcube-0.9.5 on ubuntu Server 12.04. The problem is after logging into roundcube webmail, I click on "Address Book". I can see the name of my LDAP address book (i.e. Example LDAP Addressbook) on the list but when I double-clicked it, it showed no contents. This is very strange since I added two dummy user details to it for a test.
Here is the LDAP log:
[02-Apr-2014 16:02:31 +1100]: C: Connect [example.com:389] [Example LDAP Addressbook]
[02-Apr-2014 16:02:31 +1100]: S: OK
[02-Apr-2014 16:02:31 +1100]: C: Bind [dn: cn=admin,dc=example,dc=com] [pass: PASSWD]
[02-Apr-2014 16:02:31 +1100]: S: OK
[02-Apr-2014 16:02:31 +1100]: C: Read [dn: cn=Aaron Smith,ou=addressbook,dc=example,dc=com] [(objectclass=*)]
[02-Apr-2014 16:02:31 +1100]: S: OK
[02-Apr-2014 16:02:31 +1100]: C: Search [(objectClass=groupOfNames)][dn: ou=addressbook,dc=example,dc=com]
[02-Apr-2014 16:02:31 +1100]: S: 0 record(s)
[02-Apr-2014 16:02:31 +1100]: C: Close
[02-Apr-2014 16:02:33 +1100]: C: Connect [example.com:389] [Example LDAP Addressbook]
[02-Apr-2014 16:02:33 +1100]: S: OK
[02-Apr-2014 16:02:33 +1100]: C: Bind [dn: cn=admin,dc=example,dc=com] [pass: PASSWD]
[02-Apr-2014 16:02:33 +1100]: S: OK
[02-Apr-2014 16:02:33 +1100]: C: Read [dn: cn=Owen Millan,ou=addressbook,dc=example,dc=com] [(objectclass=*)]
[02-Apr-2014 16:02:33 +1100]: S: OK
[02-Apr-2014 16:02:33 +1100]: C: Search [(objectClass=groupOfNames)][dn: ou=addressbook,dc=example,dc=com]
[02-Apr-2014 16:02:33 +1100]: S: 0 record(s)
[02-Apr-2014 16:02:33 +1100]: C: Close
From the log files, I can see that it's behaving well as expected.
In the main.inc.php under roundcube, I have the following set:
$rcmail_config['ldap_public']['public'] = array(
'name' => 'Example LDAP Addressbook',
'hosts' => array('example.com'),
'port' => 389,
'user_specific' => false,
'base_dn' => 'ou=addressbook,dc=example,dc=com',
'bind_dn' => 'cn=admin,dc=example,dc=com',
'bind_pass' => 'PASSWD',
'filter' => '(objectClass=inetOrgPerson)',
'groups' => array(
'base_dn' => '', // in this Howto, the same base_dn as for the contacts is used
'filter' => '(objectClass=groupOfNames)',
'object_classes' => array("top", "groupOfNames"),
),
);
I am wondering if anyone might be able to point me to right direction on this.
Thank you very much and any help would be greatly appreciated.