--- plugins/password/config.inc.php.dist 2016-05-22 13:06:46.000000000 +0200
+++ plugins/password/config.inc.php 2016-06-28 14:22:37.293416000 +0200
@@ -12,14 +12,14 @@ $config['password_confirm_current'] = tr
// Require the new password to be a certain length.
// set to blank to allow passwords of any length
-$config['password_minimum_length'] = 0;
+$config['password_minimum_length'] = 8;
// Require the new password to contain a letter and punctuation character
// Change to false to remove this check.
$config['password_require_nonalpha'] = false;
// Enables logging of password changes into logs/password
-$config['password_log'] = false;
+$config['password_log'] = true;
// Comma-separated list of login exceptions for which password change
// will be not available (no Password tab in Settings)
@@ -41,11 +41,11 @@ $config['password_force_new_user'] = fal
// Possible options: des-crypt, ext-des-crypt, md5-crypt, blowfish-crypt,
// sha256-crypt, sha512-crypt, md5, sha, smd5, ssha, samba, ad, dovecot, clear.
// For details see password::hash_password() method.
-$config['password_algorithm'] = 'clear';
+$config['password_algorithm'] = 'ssha';
// Password prefix (e.g. {CRYPT}, {SHA}) for passwords generated
// using password_algorithm above. Default: empty.
-$config['password_algorithm_prefix'] = '';
+$config['password_algorithm_prefix'] = '{SSHA}';
// Path for dovecotpw/doveadm-pw (if not in the $PATH).
// Used for password_algorithm = 'dovecot'.
@@ -150,7 +150,7 @@ $config['password_saslpasswd_args'] = ''
// You can provide one or several hosts in an array in which case the hosts are tried from left to right.
// Exemple: array('ldap1.exemple.com', 'ldap2.exemple.com');
// Default: 'localhost'
-$config['password_ldap_host'] = 'localhost';
+$config['password_ldap_host'] = '127.0.0.1';
// LDAP base name (root directory)
// Exemple: 'dc=exemple,dc=com'
-$config['password_ldap_basedn'] = 'dc=exemple,dc=com';
+$config['password_ldap_basedn'] = 'ou=smtpd,dc=codenix,dc=pro';
// LDAP connection method
// There is two connection method for changing a user's LDAP password.
@@ -194,7 +194,7 @@ $config['password_ldap_adminPW'] = null;
// '%domain' will be replaced by the current roundcube user's domain part
// '%dc' will be replaced by domain name hierarchal string e.g. "dc=test,dc=domain,dc=com"
// Exemple: 'uid=%login,ou=people,dc=exemple,dc=com'
-$config['password_ldap_userDN_mask'] = 'uid=%login,ou=people,dc=exemple,dc=com';
+//$config['password_ldap_userDN_mask'] = 'uid=%login,ou=smtpd,dc=codenix,dc=pro';
// LDAP search DN
// The DN roundcube should bind with to find out user's DN
@@ -205,7 +205,7 @@ $config['password_ldap_userDN_mask'] = '
// users login to find his DN instead. A common reason might be that
// your users are placed under different ou's like engineering or
// sales which cannot be derived from their login only.
-$config['password_ldap_searchDN'] = 'cn=roundcube,ou=services,dc=example,dc=com';
+$config['password_ldap_searchDN'] = 'uid=__rc_admin__,ou=admins,ou=smtpd,dc=codenix,dc=pro';
// LDAP search password
// If password_ldap_searchDN is set, the password to use for
@@ -215,13 +215,13 @@ $config['password_ldap_searchDN'] = 'cn=
// is only accesible to roundcube and don't forget to restrict roundcube's access to
// your directory as much as possible using ACLs. Should this password be compromised
// you want to minimize the damage.
-$config['password_ldap_searchPW'] = 'secret';
+$config['password_ldap_searchPW'] = '___zmien_haslo__';
// LDAP search base
// If password_ldap_searchDN is set, the base to search in using the filter below.
// Note that you should comment out the default password_ldap_userDN_mask setting
// for this to take effect.
-$config['password_ldap_search_base'] = 'ou=people,dc=example,dc=com';
+$config['password_ldap_search_base'] = 'ou=smtpd,dc=codenix,dc=pro';
// LDAP search filter
// If password_ldap_searchDN is set, the filter to use when
@@ -241,7 +241,7 @@ $config['password_ldap_search_filter'] =
// Set to 'default' if you want to use method specified in password_algorithm option above.
// Multiple password Values can be generated by concatenating encodings with a +. E.g. 'cram-md5+crypt'
// Default: 'crypt'.
-$config['password_ldap_encodage'] = 'crypt';
+$config['password_ldap_encodage'] = 'ssha';
// LDAP password attribute
// Name of the ldap's attribute used for storing user password
Gdy trzeba dołączyć inną (pod)stronę https://moinmo.in/HelpOnMacros/Include https://moinmo.in/HelpOnParsers
Nieprawidłowe argumenty "pagename, heading, level, from="regex", to="regex", sort=ascending|descending, items=n, skipitems=n, titlesonly, editlink"!