ldap:dovecot
Differences
This shows you the differences between two versions of the page.
ldap:dovecot [2016/11/11 14:22] – created peter | ldap:dovecot [2019/11/30 13:42] (current) – removed peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== LDAP - Dovecot ====== | ||
- | |||
- | <file bash dovecot.conf> | ||
- | # (...) | ||
- | auth default { | ||
- | mechanisms = plain login | ||
- | passdb ldap { | ||
- | args = / | ||
- | } | ||
- | | ||
- | # Immediately when checking password. | ||
- | userdb prefetch { | ||
- | } | ||
- | | ||
- | # For the SMTP (Postfix/ | ||
- | socket listen { | ||
- | client { | ||
- | path = / | ||
- | group = sasl | ||
- | mode = 0660 | ||
- | } | ||
- | } | ||
- | } | ||
- | # (...) | ||
- | </ | ||
- | |||
- | |||
- | The Dovecot 2.x configuration is similar, only distributed in separate files, see the 10-auth.conf (included at the end), auth-ldap.conf.ext, | ||
- | |||
- | <file bash dovecot-ldap.conf> | ||
- | uris = ldapi:// | ||
- | dn = uid=dovecot, | ||
- | dnpass = haslo | ||
- | auth_bind = yes | ||
- | ldap_version = 3 | ||
- | base = dc=example, | ||
- | scope = subtree | ||
- | pass_attrs = uid=user, | ||
- | </ | ||
- | |||
ldap/dovecot.1478874140.txt.gz · Last modified: 2020/07/15 09:30 (external edit)