set password algorithm

This commit is contained in:
Sebastian Hugentobler 2017-10-08 10:41:59 +02:00
parent 78b3cc189b
commit e962cffd74
2 changed files with 7 additions and 4 deletions

View file

@ -6,8 +6,10 @@ $config['password_require_nonalpha'] = false;
$config['password_hosts'] = null;
$config['password_force_save'] = true;
$config['password_algorithm'] = 'sha512-crypt';
$config['password_algorithm_prefix'] = '{CRYPT}';
$config['password_algorithm'] = 'dovecot';
$config['password_dovecotpw'] = '/usr/bin/doveadm pw';
$config['password_algorithm_prefix'] = '{PBKDF2}';
$config['password_dovecotpw_method'] = 'PBKDF2';
$config['password_ldap_host'] = '{{getenv "LDAP_HOST"}}';
$config['password_ldap_port'] = '{{getenv "LDAP_CONNECTION_PORT" "389"}}';
@ -17,6 +19,6 @@ $config['password_ldap_basedn'] = '{{getenv "LDAP_BASE_DN"}}';
$config['password_ldap_method'] = 'user';
$config['password_ldap_userDN_mask'] = '{{getenv "LDAP_USER_DN_MASK"}}';
$config['password_ldap_encodage'] = 'crypt';
$config['password_ldap_encodage'] = 'default';
$config['password_ldap_pwattr'] = '{{getenv "LDAP_PASSWORD_ATTRIBUTE" "userPassword"}}';
$config['password_ldap_force_replace'] = true;