+- peardb
+
+ Default settings are supplied in backends/peardb.php.
+
+ Site configuration is controlled in config.php $cpw_peardb
+ array. Used configuration overrides:
+ * 'dsn' - (required) DSN used for connection to database.
+ See PHP Pear DB manual.
+ * 'connect_opts' - (optional) Pear DB connection options.
+ See PHP Pear DB manual.
+ * 'table' - (required) table that stores user information.
+ * 'uid_field' - (optional) field that stores username.
+ Defaults to 'userid'.
+ * 'domain_field' - (optional) field that stores domain
+ information. Used for setups that split username into
+ user and domain parts. Option is ignored if set to empty
+ string. Defaults to empty string.
+ * 'password_field' - (optional) field that stores password.
+ Defaults to 'password'.
+ * 'crypted_passwd' - (optional) boolean variable that is
+ used to switch between plaintext and encoded passwords.
+ If variable is set to false, backend works with plain
+ text passwords. If variable is set to true, backend
+ tries to detect crypto used in password and uses
+ detected crypto. Backend defaults to plain text
+ passwords.
+ * 'debug' - (optional) boolean variable that is used to control
+ display of debugging information. If set to true, backend
+ might display more information about connection errors.
+ Debug information can contain SQL connection options and
+ password information. Don't enable it on production system.
+ Backend disables display of debug information by default.
+
+ Supported password schemas:
+ * plaintext - passwords are stored as clear text.
+ * crypt - passwords use system crypt libraries. Backend should be
+ able to use standard DES, extended DES, MD5 crypt and blowfish
+ algorithms, if system libraries support them. {crypt} prefix
+ is optional.
+ * plain-md5 - passwords are hashed with MD5 and use {plain-md5}
+ prefix.
+ * digest-md5 - hash stores MD5 hash of username:domain:password
+ string and is prefixed with {digest-md5} string.
+
+ Tested configurations:
+ * Dovecot 0.99.14 with mysql authentication module.