| 192 |
- |
1 |
# Authentication for LDAP users. Included from 10-auth.conf.
|
|
|
2 |
#
|
|
|
3 |
# <doc/wiki/AuthDatabase.LDAP.txt>
|
|
|
4 |
|
|
|
5 |
passdb {
|
|
|
6 |
driver = ldap
|
|
|
7 |
|
|
|
8 |
# Path for LDAP configuration file, see example-config/dovecot-ldap.conf.ext
|
|
|
9 |
args = /etc/dovecot/dovecot-ldap.conf.ext
|
|
|
10 |
}
|
|
|
11 |
|
|
|
12 |
# "prefetch" user database means that the passdb already provided the
|
|
|
13 |
# needed information and there's no need to do a separate userdb lookup.
|
|
|
14 |
# <doc/wiki/UserDatabase.Prefetch.txt>
|
|
|
15 |
#userdb {
|
|
|
16 |
# driver = prefetch
|
|
|
17 |
#}
|
|
|
18 |
|
|
|
19 |
userdb {
|
|
|
20 |
driver = ldap
|
|
|
21 |
args = /etc/dovecot/dovecot-ldap.conf.ext
|
|
|
22 |
|
|
|
23 |
# Default fields can be used to specify defaults that LDAP may override
|
|
|
24 |
#default_fields = home=/home/virtual/%u
|
|
|
25 |
}
|
|
|
26 |
|
|
|
27 |
# If you don't have any user-specific settings, you can avoid the userdb LDAP
|
|
|
28 |
# lookup by using userdb static instead of userdb ldap, for example:
|
|
|
29 |
# <doc/wiki/UserDatabase.Static.txt>
|
|
|
30 |
#userdb {
|
|
|
31 |
#driver = static
|
|
|
32 |
#args = uid=vmail gid=vmail home=/var/vmail/%u
|
|
|
33 |
#}
|