auth-ldap.conf.ext.erb 802 B

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