User Tools

Site Tools


davical_debian8

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
davical_debian8 [2015/07/26 12:02] – created herwarthdavical_debian8 [2015/07/28 09:22] (current) herwarth
Line 1: Line 1:
-======Davical CalDAV and CardDAV server on Debian 8======+======Davical on Debian 8 with iRedmail====== 
 +This configuration uses iRedmail as LDAP backend!
 =====Prerequisites===== =====Prerequisites=====
   * Do a minimal Debian 8 installation with only SSH   * Do a minimal Debian 8 installation with only SSH
Line 7: Line 8:
  
 =====Configuration===== =====Configuration=====
-====PostgresQL====+====PostgreSQL====
 <code - /etc/postgresql/9.4/main/pg_hba.conf> <code - /etc/postgresql/9.4/main/pg_hba.conf>
 . .
Line 61: Line 62:
   cd /etc/apache2/sites-enabled   cd /etc/apache2/sites-enabled
   ln -s ../sites-available/davical.conf   ln -s ../sites-available/davical.conf
 +  a2enmod authnz_ldap
 ====Davical==== ====Davical====
 +<code - /etc/davical/config.php>
 +<?php
 +  $c->domain_name = "dav.helux.nl";
 +  $c->admin_email = 'info@helux.nl';
 +  $c->system_name = "Helux DAViCal Server";
 +  $c->enable_row_linking = true;
 +  $c->default_locale = "nl_NL";
 +  $c->public_freebusy_url = true;
 +  $c->post_add_member = false;
 +
 +  $c->pg_connect[] = 'dbname=davical port=5432 user=davical_app';
 +
 +  $c->authenticate_hook['call'] = 'LDAP_check';
 +  $c->authenticate_hook['config'] = array(
 +     'host'          => 'mail.helux.nl',
 +     'port'          => '389',
 +     'filterUsers'   => '(&(enabledService=davical))',
 +     'bindDN'        => 'cn=vmail,dc=mail,dc=helux,dc=nl',
 +     'passDN'        => 'SECRET',
 +     'baseDNUsers'   => 'o=domains,dc=mail,dc=helux,dc=nl',
 +     'protocolVersion' => 3,
 +     'scope' => 'subtree',
 +     'mapping_field' => array(
 +        'username' => 'mail',
 +        'modified'  => 'modifyTimestamp',
 +        'fullname' => 'cn',
 +        'email'    => 'mail'),
 +     'default_value' => array("date_format_type" => "E","locale" => "nl_NL"),
 +     'format_updated'=> array('Y' => array(0,4),'m' => array(4,2),'d'=> array(6,2),'H' => array(8,2),'M'=>array(10,2),'S' => array(12,2)),);
 +  $c->do_not_sync_from_ldap = array( 'admin' => true );
 +include('drivers_ldap.php');
 +</code>
 +Go to the URL of the webinterface. In this case I use a reverse proxy to terminate SSL. So in this case I use the URL [[http://<internal_hostname>]].
  
 +The admin user is admin, with password mentioned in the NOTE when you installed the database.
 {{tag>linux}} {{tag>linux}}
davical_debian8.1437912152.txt.gz · Last modified: by herwarth