set password algorithm
This commit is contained in:
parent
78b3cc189b
commit
e962cffd74
@ -27,7 +27,8 @@ RUN apk add --no-cache \
|
|||||||
php7-zip \
|
php7-zip \
|
||||||
php7-ldap \
|
php7-ldap \
|
||||||
php7-pspell \
|
php7-pspell \
|
||||||
php7-apcu
|
php7-apcu \
|
||||||
|
dovecot
|
||||||
|
|
||||||
RUN mkdir /var/lib/roundcube
|
RUN mkdir /var/lib/roundcube
|
||||||
RUN wget -qO- https://github.com/roundcube/roundcubemail/releases/download/$VERSION/roundcubemail-$VERSION-complete.tar.gz | tar xz -C /var/lib/roundcube --strip 1
|
RUN wget -qO- https://github.com/roundcube/roundcubemail/releases/download/$VERSION/roundcubemail-$VERSION-complete.tar.gz | tar xz -C /var/lib/roundcube --strip 1
|
||||||
|
@ -6,8 +6,10 @@ $config['password_require_nonalpha'] = false;
|
|||||||
$config['password_hosts'] = null;
|
$config['password_hosts'] = null;
|
||||||
$config['password_force_save'] = true;
|
$config['password_force_save'] = true;
|
||||||
|
|
||||||
$config['password_algorithm'] = 'sha512-crypt';
|
$config['password_algorithm'] = 'dovecot';
|
||||||
$config['password_algorithm_prefix'] = '{CRYPT}';
|
$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_host'] = '{{getenv "LDAP_HOST"}}';
|
||||||
$config['password_ldap_port'] = '{{getenv "LDAP_CONNECTION_PORT" "389"}}';
|
$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_method'] = 'user';
|
||||||
$config['password_ldap_userDN_mask'] = '{{getenv "LDAP_USER_DN_MASK"}}';
|
$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_pwattr'] = '{{getenv "LDAP_PASSWORD_ATTRIBUTE" "userPassword"}}';
|
||||||
$config['password_ldap_force_replace'] = true;
|
$config['password_ldap_force_replace'] = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user