This documentation is for Dovecot v1.x, see wiki2 for v2.x documentation.
Differences between revisions 3 and 4
Revision 3 as of 2006-11-05 13:57:31
Size: 1358
Editor: TimoSirainen
Comment:
Revision 4 as of 2007-06-13 00:18:04
Size: 1355
Editor: TimoSirainen
Comment:
Deletions are marked like this. Additions are marked like this.
Line 10: Line 10:
 * [wiki:AuthDatabase/Passwd Passwd]: `/etc/passwd`, NSS or similiar (using `getpwnam()` function)
 * [wiki:PasswordDatabase/Shadow Shadow]: `/etc/shadow` or similiar (using `getspnam()` function)
 * [wiki:AuthDatabase/Passwd Passwd]: System users (NSS, `/etc/passwd`, or similiar)
 * [wiki:PasswordDatabase/Shadow Shadow]: Shadow passwords for system users (NSS, `/etc/shadow` or similiar)

Password Databases

Dovecot authenticates users from a password database. It needs to contain only usernames and their passwords. The passdb may also return special [wiki:PasswordDatabase/ExtraFields extra fields].

Dovecot supports defining multiple password databases, so that if the password doesn't match in the first database, it checks the next one. This can be useful if you want to easily support having both virtual users and also local system users in /etc/passwd.

Currently supported password databases (note that some of them can also be used as user databases):

  • [wiki:PasswordDatabase/PAM PAM]: Pluggable Authentication Modules
  • [wiki:AuthDatabase/Passwd Passwd]: System users (NSS, /etc/passwd, or similiar)

  • [wiki:PasswordDatabase/Shadow Shadow]: Shadow passwords for system users (NSS, /etc/shadow or similiar)

  • [wiki:AuthDatabase/PasswdFile Passwd-file]: /etc/passwd-like file in specified location

  • [wiki:AuthDatabase/LDAP LDAP]: Lightweight Directory Access Protocol
  • [wiki:AuthDatabase/SQL SQL]: SQL database (PostgreSQL, MySQL, SQLite)
  • [wiki:PasswordDatabase/BSDAuth BSDAuth]: BSD authentication
  • [wiki:AuthDatabase/VPopMail VPopMail]: External software used to handle virtual domains
  • [wiki:PasswordDatabase/CheckPassword checkpassword]: External checkpassword program which is run

None: PasswordDatabase (last edited 2010-04-14 00:47:30 by unknown)