Brief description of the Kolab Groupware integration with Tiny Tiny RSS.
This process uses slightly modified commit 65dfbee of the roundcubemail-plugins-kolab.
Kolab
Download Tiny Tiny RSS plugin.
Extract it to the following directory.
/usr/share/roundcubemail/plugins/
Open plugin configuration file config.inc.php
and define authentication exchange secret.
Edit Roundcube configuration file (main.inc.php
) and add ttrss
plugin to the $rcmail_config['plugins']
array to enable it.
Tiny Tiny RSS
Create new MySQL user, database , and use /var/www/ttrss
directory to install Tiny Tiny RSS on the Kolab Groupware server.
Perform first login and change password as you will use this account later for administration purposes.
admin
, and password is password
.LDAP authentication plugin is available here
but download the modified version.
Extract it to the /var/www/ttrss/plugins/
directory.
Now you need to modify Tiny Tiny RSS configuration (config.php
file).
Enable auth_ldap
plugin.
define('PLUGINS', 'auth_ldap, auth_internal, note, updater');
Define LDAP parameters (replace KolabServicePassword and example.org).
define('LDAP_AUTH_SERVER_URI', 'ldap://localhost:389/'); define('LDAP_AUTH_BINDDN', 'uid=kolab-service,ou=Special Users,dc=example,dc=org'); define('LDAP_AUTH_BINDPW', 'KolabServicePassword'); define('LDAP_AUTH_BASEDN', 'ou=People,dc=example,dc=org'); define('LDAP_AUTH_ANONYMOUSBEFOREBIND', FALSE); define('LDAP_AUTH_SEARCHFILTER', '(uid=???)'); // ??? will be replaced with the entered username(escaped) at login
Define Kolab Groupware URL and authentication exchange secret which needs to be the same as defined earlier in the Roundcube plugin.
define('KOLAB_SERVER','http://10.0.0.1/roundcubemail/'); define('KOLAB_SECRET','<shared-secret-string>');
Additional notes
To update feeds use the following crontab entry (source).
*/30 * * * * /bin/su www-data -c "/usr/bin/php /var/www/ttrss/update.php --feeds --quiet"
Read about other configuration file options.
as it fits Kolab almost perfectly.