2016-07-14 08:17:45 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
$config['password_driver'] = 'ldap_simple';
|
|
|
|
$config['password_confirm_current'] = true;
|
|
|
|
$config['password_require_nonalpha'] = false;
|
|
|
|
$config['password_hosts'] = null;
|
|
|
|
$config['password_force_save'] = true;
|
|
|
|
|
2017-10-08 08:41:59 +00:00
|
|
|
$config['password_algorithm'] = 'dovecot';
|
|
|
|
$config['password_dovecotpw'] = '/usr/bin/doveadm pw';
|
|
|
|
$config['password_algorithm_prefix'] = '{PBKDF2}';
|
|
|
|
$config['password_dovecotpw_method'] = 'PBKDF2';
|
2016-07-14 08:17:45 +00:00
|
|
|
|
2016-10-28 13:44:21 +00:00
|
|
|
$config['password_ldap_host'] = '{{getenv "LDAP_HOST"}}';
|
2016-12-30 14:28:57 +00:00
|
|
|
$config['password_ldap_port'] = '{{getenv "LDAP_CONNECTION_PORT" "389"}}';
|
2016-07-14 09:10:09 +00:00
|
|
|
$config['password_ldap_version'] = '3';
|
2016-10-28 13:44:21 +00:00
|
|
|
$config['password_ldap_starttls'] = {{getenv "LDAP_STARTTLS" "true"}};
|
|
|
|
$config['password_ldap_basedn'] = '{{getenv "LDAP_BASE_DN"}}';
|
2016-07-14 08:17:45 +00:00
|
|
|
$config['password_ldap_method'] = 'user';
|
2016-10-28 13:44:21 +00:00
|
|
|
$config['password_ldap_userDN_mask'] = '{{getenv "LDAP_USER_DN_MASK"}}';
|
2016-07-14 08:17:45 +00:00
|
|
|
|
2017-10-08 08:41:59 +00:00
|
|
|
$config['password_ldap_encodage'] = 'default';
|
2016-10-28 13:44:21 +00:00
|
|
|
$config['password_ldap_pwattr'] = '{{getenv "LDAP_PASSWORD_ATTRIBUTE" "userPassword"}}';
|
|
|
|
$config['password_ldap_force_replace'] = true;
|