Advertisement
Guest User

Untitled

a guest
Oct 13th, 2015
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.30 KB | None | 0 0
  1. root@mail:/etc/dovecot/conf.d# cat auth-system.conf.ext
  2. # Authentication for system users. Included from 10-auth.conf.
  3. #
  4. # <doc/wiki/PasswordDatabase.txt>
  5. # <doc/wiki/UserDatabase.txt>
  6.  
  7. # PAM authentication. Preferred nowadays by most systems.
  8. # PAM is typically used with either userdb passwd or userdb static.
  9. # REMEMBER: You'll need /etc/pam.d/dovecot file created for PAM
  10. # authentication to actually work. <doc/wiki/PasswordDatabase.PAM.txt>
  11. passdb {
  12. driver = pam
  13. # [session=yes] [setcred=yes] [failure_show_msg=yes] [max_requests=<n>]
  14. # [cache_key=<key>] [<service name>]
  15. args = session=yes cache_key=%s%u dovecot
  16. }
  17.  
  18. # System users (NSS, /etc/passwd, or similiar).
  19. # In many systems nowadays this uses Name Service Switch, which is
  20. # configured in /etc/nsswitch.conf. <doc/wiki/AuthDatabase.Passwd.txt>
  21. #passdb {
  22. #driver = passwd
  23. # [blocking=no]
  24. #args =
  25. #}
  26.  
  27. # Shadow passwords for system users (NSS, /etc/shadow or similiar).
  28. # Deprecated by PAM nowadays.
  29. # <doc/wiki/PasswordDatabase.Shadow.txt>
  30. #passdb {
  31. #driver = shadow
  32. # [blocking=no]
  33. #args =
  34. #}
  35.  
  36. # PAM-like authentication for OpenBSD.
  37. # <doc/wiki/PasswordDatabase.BSDAuth.txt>
  38. #passdb {
  39. #driver = bsdauth
  40. # [blocking=no] [cache_key=<key>]
  41. #args =
  42. #}
  43.  
  44. ##
  45. ## User databases
  46. ##
  47.  
  48. # System users (NSS, /etc/passwd, or similiar). In many systems nowadays this
  49. # uses Name Service Switch, which is configured in /etc/nsswitch.conf.
  50. userdb {
  51. # <doc/wiki/AuthDatabase.Passwd.txt>
  52. driver = passwd
  53. # [blocking=no]
  54. #args = blocking=yes
  55.  
  56. # Override fields from passwd
  57. #override_fields = home=/home/virtual/%u
  58. }
  59.  
  60. # Static settings generated from template <doc/wiki/UserDatabase.Static.txt>
  61. #userdb {
  62. #driver = static
  63. # Can return anything a userdb could normally return. For example:
  64. #
  65. # args = uid=500 gid=500 home=/var/mail/%u
  66. #
  67. # LDA and LMTP needs to look up users only from the userdb. This of course
  68. # doesn't work with static userdb because there is no list of users.
  69. # Normally static userdb handles this by doing a passdb lookup. This works
  70. # with most passdbs, with PAM being the most notable exception. If you do
  71. # the user verification another way, you can add allow_all_users=yes to
  72. # the args in which case the passdb lookup is skipped.
  73. #
  74. #args =
  75. #}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement