1 # Authentication for system users. Included from 10-auth.conf.
3 # <doc/wiki/PasswordDatabase.txt>
4 # <doc/wiki/UserDatabase.txt>
6 # PAM authentication. Preferred nowadays by most systems.
7 # PAM is typically used with either userdb passwd or userdb static.
8 # REMEMBER: You'll need /etc/pam.d/dovecot file created for PAM
9 # authentication to actually work. <doc/wiki/PasswordDatabase.PAM.txt>
12 # [session=yes] [setcred=yes] [failure_show_msg=yes] [max_requests=<n>]
13 # [cache_key=<key>] [<service name>]
17 # System users (NSS, /etc/passwd, or similiar).
18 # In many systems nowadays this uses Name Service Switch, which is
19 # configured in /etc/nsswitch.conf. <doc/wiki/AuthDatabase.Passwd.txt>
26 # Shadow passwords for system users (NSS, /etc/shadow or similiar).
27 # Deprecated by PAM nowadays.
28 # <doc/wiki/PasswordDatabase.Shadow.txt>
35 # PAM-like authentication for OpenBSD.
36 # <doc/wiki/PasswordDatabase.BSDAuth.txt>
39 # [blocking=no] [cache_key=<key>]
47 # System users (NSS, /etc/passwd, or similiar). In many systems nowadays this
48 # uses Name Service Switch, which is configured in /etc/nsswitch.conf.
50 # <doc/wiki/AuthDatabase.Passwd.txt>
55 # Override fields from passwd
56 #override_fields = home=/home/virtual/%u
59 # Static settings generated from template <doc/wiki/UserDatabase.Static.txt>
62 # Can return anything a userdb could normally return. For example:
64 # args = uid=500 gid=500 home=/var/mail/%u
66 # LDA and LMTP needs to look up users only from the userdb. This of course
67 # doesn't work with static userdb because there is no list of users.
68 # Normally static userdb handles this by doing a passdb lookup. This works
69 # with most passdbs, with PAM being the most notable exception. If you do
70 # the user verification another way, you can add allow_all_users=yes to
71 # the args in which case the passdb lookup is skipped.