~ubuntu-branches/ubuntu/trusty/dovecot/trusty-security

« back to all changes in this revision

Viewing changes to doc/wiki/AuthDatabase.CheckPassword.txt

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2012-04-04 14:56:38 UTC
  • mfrom: (1.15.1) (4.1.26 sid)
  • Revision ID: package-import@ubuntu.com-20120404145638-qmvdul6vwpcqparv
Tags: 1:2.0.19-0ubuntu1
* New upstream release (LP: #970782).
* Merge from Debian testing, remaining changes:
  + Add mail-stack-delivery package:
    - Update d/rules
    - d/control: convert existing dovecot-postfix package to a dummy
      package and add new mail-stack-delivery package.
    - Update maintainer scripts.
    - Rename d/dovecot-postfix.* to debian/mail-stack-delivery.*
    - d/mail-stack-delivery.preinst: Move previously installed backups and
      config files to a new package namespace.
    - d/mail-stack-delivery.prerm: Added to handle downgrades.
  + Use Snakeoil SSL certificates by default:
    - d/control: Depend on ssl-cert.
    - d/dovecot-core.postinst: Relax grep for SSL_* a bit.
  + Add autopkgtest to debian/tests/*.
  + Add ufw integration:
    - d/dovecot-core.ufw.profile: new ufw profile.
    - d/rules: install profile in dovecot-core.
    - d/control: dovecot-core - suggest ufw.
  + d/{control,rules}: enable PIE hardening.
  + d/dovecot-core.dirs: Added usr/share/doc/dovecot-core
  + Add apport hook:
    - d/rules, d/source_dovecot.py
  + Add upstart job:
    - d/rules, d/dovecot-core.dovecot.upstart, d/control,
      d/dovecot-core.dirs, dovecot-imapd.{postrm, postinst, prerm},
      d/dovecot-pop3d.{postinst, postrm, prerm}.
      d/mail-stack-deliver.postinst:
      Convert init script to upstart.
  + d/patches/fix-racey-restart.patch: Backported patch from current
    development release which ensures all child processes terminate prior
    to the main dovecot process.
  + debian/patches/CVE-2011-4318.patch: Dropped - applied upstream
  + d/control: Added Pre-Depends: dpkg (>= 1.15.6) to dovecot-dbg to support
    xz compression in Ubuntu.
  + d/control: Demote dovecot-common Recommends: to Suggests: to prevent
    install of extra packages on upgrade.
* d/patches/dovecot-drac.patch: Updated with version for dovecot >= 2.0.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
115
115
 * 'MASTER_USER': If master login is attempted. This means that the password
116
116
   contains the master user's password and the normal username contains the
117
117
   user who master wants to log in as.
 
118
 * 'AUTH_*': All of the <auth variables> [Variables.txt] are available as
 
119
   'AUTH_<long name>' extra fields. For example '%{cert}' is in 'AUTH_CERT'.
 
120
   (v2.0.16+)
118
121
 
119
122
Checkpassword as userdb
120
123
-----------------------
124
127
'AUTHORIZED=2', otherwise the lookup fails. Other than that, the script works
125
128
the same way as a passdb checkpassword script.
126
129
 
 
130
Checkpassword with passdb lookups (v2.1.2+)
 
131
-------------------------------------------
 
132
 
 
133
Normally checkpassword answers to questions "is user X's password Y?" This
 
134
doesn't work with non-plaintext auth mechanisms, or when Dovecot wants to do a
 
135
non-authenticating passdb lookup (e.g. for LMTP proxy). These passdb
 
136
credentials lookups can be implemented the same way as a userdb lookup (i.e.
 
137
change the 'AUTHORIZED' environment).
 
138
 
 
139
 * 'CREDENTIALS_LOOKUP' environment is set for all non-plaintext passdb
 
140
   lookups.
 
141
 * The password scheme that Dovecot wants is available in 'SCHEME' environment.
 
142
 
 
143
    * If the 'SCHEME' is empty, it means Dovecot is doing a passdb lookup for
 
144
      e.g. a proxy which doesn't really want the password, just the extra
 
145
      fields.
 
146
 * If a password is returned, it must be returned as 'password={SCHEME}secret'.
 
147
 
127
148
Example
128
149
-------
129
150
 
157
178
}
158
179
---%<-------------------------------------------------------------------------
159
180
 
160
 
(This file was created from the wiki on 2011-08-29 04:42)
 
181
(This file was created from the wiki on 2012-03-15 16:40)