roundcube/rootfs/etc/confd/templates/password-config.inc.php.tmpl

22 lines
850 B
Cheetah
Raw Normal View History

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;
2016-07-14 09:10:09 +00:00
$config['password_algorithm'] = 'sha512-crypt';
2016-07-14 08:17:45 +00:00
$config['password_algorithm_prefix'] = '{CRYPT}';
$config['password_ldap_host'] = '{{getenv "LDAPHOST"}}';
2016-07-14 09:10:09 +00:00
$config['password_ldap_port'] = '389';
$config['password_ldap_version'] = '3';
2016-07-14 08:17:45 +00:00
$config['password_ldap_starttls'] = {{getenv "LDAPSTARTTLS"}};
$config['password_ldap_basedn'] = '{{getenv "LDAPBASEDN"}}';
$config['password_ldap_method'] = 'user';
$config['password_ldap_userDN_mask'] = '{{getenv "LDAPUSERDNMASK"}}';
$config['password_ldap_encodage'] = 'crypt';
$config['password_ldap_pwattr'] = '{{getenv "LDAPPASSWORDATTRIBUTE"}}';
$config['password_ldap_force_replace'] = true;