summaryrefslogtreecommitdiffstats
path: root/source/n/dovecot/dovecot.default.shadow.auth.diff
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/dovecot/dovecot.default.shadow.auth.diff')
-rw-r--r--source/n/dovecot/dovecot.default.shadow.auth.diff40
1 files changed, 40 insertions, 0 deletions
diff --git a/source/n/dovecot/dovecot.default.shadow.auth.diff b/source/n/dovecot/dovecot.default.shadow.auth.diff
new file mode 100644
index 000000000..e0d8de058
--- /dev/null
+++ b/source/n/dovecot/dovecot.default.shadow.auth.diff
@@ -0,0 +1,40 @@
+--- ./doc/example-config/conf.d/auth-system.conf.ext.orig 2017-12-22 07:53:36.000000000 -0600
++++ ./doc/example-config/conf.d/auth-system.conf.ext 2018-01-31 17:05:06.840878097 -0600
+@@ -7,12 +7,12 @@
+ # PAM is typically used with either userdb passwd or userdb static.
+ # REMEMBER: You'll need /etc/pam.d/dovecot file created for PAM
+ # authentication to actually work. <doc/wiki/PasswordDatabase.PAM.txt>
+-passdb {
+- driver = pam
++#passdb {
++ #driver = pam
+ # [session=yes] [setcred=yes] [failure_show_msg=yes] [max_requests=<n>]
+ # [cache_key=<key>] [<service name>]
+ #args = dovecot
+-}
++#}
+
+ # System users (NSS, /etc/passwd, or similar).
+ # In many systems nowadays this uses Name Service Switch, which is
+@@ -24,13 +24,17 @@
+ #}
+
+ # Shadow passwords for system users (NSS, /etc/shadow or similar).
+-# Deprecated by PAM nowadays.
++# This is the default on Slackware systems.
+ # <doc/wiki/PasswordDatabase.Shadow.txt>
+-#passdb {
+- #driver = shadow
++passdb {
++ driver = shadow
+ # [blocking=no]
+ #args =
+-#}
++}
++# Auth worker to authenticate shadow passwords on Slackware:
++service auth-worker {
++ group = shadow
++}
+
+ # PAM-like authentication for OpenBSD.
+ # <doc/wiki/PasswordDatabase.BSDAuth.txt>