1

Topic: Roundcube + Active Directory integration

==== Required information ====
- iRedMail version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Linux/BSD distribution name and version:
- Related log if you're reporting an issue:
======== Required information ====
- iRedMail version: 0.8.7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): Active Directory LDAP
- Linux/BSD distribution name and version: CentOS 6.5
- Related log if you're reporting an issue:
====

Hello,

The Active Directory integration tutorial, posted here:

http://www.iredmail.org/wiki/index.php? … y.iRedMail

describes how to "Enable Global LDAP Address Book wih AD in Roundcube webmail".  Specifically, it says:

Edit roundcube config file: /var/www/roundcubemail/config/main.inc.php (RHEL/CentOS) or /usr/share/apache2/roundcubemail/config/main.inc.php (Debian/Ubuntu).

However, at least on a CentOS install of iRedMail 0.8.7, the file /var/www/roundcubemail/config/main.inc.php does not exist.  The closest I could find was /var/www/roundcubemail/config/config.inc.php, but that file doesn't seem to have the right contents inside.

Is there an appropriate file to edit to get this feature with an Active Directory backend?

Thanks much!

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Roundcube + Active Directory integration

Old Roundcube webmail splits config files into 2 files under 'config/' directory:

* main.inc.php: contains custom settings.
* db.inc.php: SQL database related settings.

Roundcube-1.0 and later releases store all default settings in file 'config/defaults.inc.php', all user custom settings should be stored in file 'config/config.inc.php', and this one is what you're looking for. if you need some sample code, check file 'defaults.inc.php'.