From d59af34f5a374dd972735d4963141f5216882186 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Wed, 20 Oct 2010 08:57:03 -0400
Subject: [PATCH] removed pam authentication mechanism in dovecot.conf as ispconfig 3 uses sql authentication only.

---
 install/tpl/debian6_dovecot.conf.master |    2 --
 install/tpl/debian_dovecot.conf.master  |    4 ++--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/install/tpl/debian6_dovecot.conf.master b/install/tpl/debian6_dovecot.conf.master
index 51c6910..b94e447 100644
--- a/install/tpl/debian6_dovecot.conf.master
+++ b/install/tpl/debian6_dovecot.conf.master
@@ -55,8 +55,6 @@
 #auth_executable = /usr/lib/dovecot/dovecot-auth
 auth default {
   mechanisms = plain login
-  passdb pam {
-  }
 
   # SQL database <doc/wiki/AuthDatabase.SQL.txt>
   passdb sql {
diff --git a/install/tpl/debian_dovecot.conf.master b/install/tpl/debian_dovecot.conf.master
index d257982..d32537b 100644
--- a/install/tpl/debian_dovecot.conf.master
+++ b/install/tpl/debian_dovecot.conf.master
@@ -847,7 +847,7 @@
   # database (passwd usually), you can use static userdb.
   # REMEMBER: You'll need /etc/pam.d/dovecot file created for PAM
   # authentication to actually work. <doc/wiki/PasswordDatabase.PAM.txt>
-  passdb pam {
+  # passdb pam {
     # [blocking=yes] [session=yes] [setcred=yes]
     # [cache_key=<key>] [<service name>]
     #
@@ -880,7 +880,7 @@
     #   args = session=yes *
     #   args = cache_key=%u dovecot
     #args = dovecot
-  }
+  # }
 
   # System users (NSS, /etc/passwd, or similiar)
   # In many systems nowadays this uses Name Service Switch, which is

--
Gitblit v1.9.1