mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-01-27 00:33:34 +00:00
We also use a locally set password (aka a pepper) to ensure that the contents of memcached isn't sufficient to perform dictionary attacks on the cached credentials.
78 lines
3.0 KiB
Plaintext
78 lines
3.0 KiB
Plaintext
<?php
|
|
$c->pg_connect[] = 'dbname=regression user=davical_app';
|
|
|
|
// use strict result ordering for regression testing only
|
|
$c->strict_result_ordering = true;
|
|
// PUT: 405 Method Not Allowed
|
|
$c->readonly_webdav_collections = false;
|
|
// fix ETag differences (CRLF) in 0218-Moz-REPORT and later
|
|
$c->hide_alarm = true;
|
|
// some freebusy queries will be 404 otherwise
|
|
$c->public_freebusy_url = true;
|
|
// helps with 1035-GET-mashup
|
|
$c->get_includes_subcollections = true;
|
|
// helps with 1036-REPORT-sync-initial-bound
|
|
$c->hide_TODO = false;
|
|
// enable test mode
|
|
$c->test_mode = true;
|
|
|
|
// for ischedule suite; also needs DKIM set up?
|
|
$c->enable_scheduling = true;
|
|
|
|
// enable for debugging, as needed
|
|
//$c->dbg['ALL'] = 1;
|
|
|
|
// if testing memcache
|
|
//memcache $c->memcache_servers[] = '127.0.0.1,11211';
|
|
|
|
// if testing cached of auth with memcache
|
|
//memcache_auth $c->auth_cache = true;
|
|
//memcache_auth $c->auth_cache_secret = 'not safe, regression testing only';
|
|
|
|
// if testing LDAP
|
|
//ldap $c->authenticate_hook['call'] = 'LDAP_check';
|
|
//ldap $c->authenticate_hook['config'] = array(
|
|
//ldap 'host' => 'localhost',
|
|
//ldap 'port' => '21394',
|
|
//ldap 'protocolVersion' => 3,
|
|
//ldap 'baseDNUsers' => 'ou=users,dc=example,dc=com',
|
|
//ldap 'baseDNGroups' => 'ou=groups,dc=example,dc=com',
|
|
// Test with the old name, new name is "user_mapping_field".
|
|
//ldap 'mapping_field' => array(
|
|
//ldap "username" => "uid",
|
|
//ldap "modified" => "modifyTimestamp",
|
|
//ldap "fullname" => "cn",
|
|
//ldap "email" => "mail"
|
|
//ldap ),
|
|
//ldap 'group_mapping_field' => array(
|
|
// Test with the old name, new name is "name""
|
|
//ldap "username" => "cn",
|
|
//ldap "modified" => "modifyTimestamp",
|
|
//ldap "fullname" => "description",
|
|
//ldap "members" => "memberUid",
|
|
//ldap ),
|
|
//ldap 'format_updated' => array(
|
|
//ldap 'Y' => array(0,4),
|
|
//ldap 'm' => array(4,2),
|
|
//ldap 'd' => array(6,2),
|
|
//ldap 'H' => array(8,2),
|
|
//ldap 'M' => array(10,2),
|
|
//ldap 'S' => array(12,2)
|
|
//ldap )
|
|
//ldap );
|
|
//ldap
|
|
//ldap $c->do_not_sync_from_ldap = array ('pg_ldap_ignore1' => true);
|
|
//ldap $c->do_not_sync_group_from_ldap = array ('pg_ldap_group_ignore' => true);
|
|
|
|
//ldap include('drivers_ldap.php');
|
|
|
|
// The value of p is generated using:
|
|
// openssl rsa -in tests/ischedule/key/private -pubout -outform der | | openssl base64 -A
|
|
$icfg = array(
|
|
'cal._domainkey.caldav' => 'v=DKIM1; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArTRqr/W5wSlxDKthes0Bz2fIkukLOu0tNIbxO9GpsjgaE3juPnl9XlkMxvkGQ5k7NTy2yRIYDFqDzT150MiMLsIbOnXlOZVizlM8MXe65do6BNCnjNZRNj30pEHirhJsQf0eEc9+AY1qDbC2axqd1Nf8MNl0bJ58O0ZCPnzdDNxsWp16midWoj0uceonpg1qxp7kYD2CC5/WcrsBHc8Lt3y2N9X4pamAvd0fAfVXYrzLSVvmc1b09yEq3weT4R4Jiizjb7UPPZCyarDDOUKfjcBsPCJtBDv7al6easoCUvHviJKy48bmcFcgnyL1FfKVdIaKlyb3nLj9dFTFm/tdTQIDAQAB',
|
|
);
|
|
|
|
// Allow dynamic configuration of application by tests.
|
|
include 'regression-conf.php.dynamic.per-test';
|
|
?>
|