summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kalika <max@gentoo.org>2004-01-28 14:57:45 +0000
committerMax Kalika <max@gentoo.org>2004-01-28 14:57:45 +0000
commita0297df1993448e04fa4ad872521adc3f88570d6 (patch)
treee71fcf100d12407c9a2dd7d4eac3b731857d2740 /dev-libs/cyrus-sasl/files/saslauthd2.conf
parentadded cmf to RDEPEND (diff)
downloadhistorical-a0297df1993448e04fa4ad872521adc3f88570d6.tar.gz
historical-a0297df1993448e04fa4ad872521adc3f88570d6.tar.bz2
historical-a0297df1993448e04fa4ad872521adc3f88570d6.zip
More flexible start-up script config file. Fixes bug 39447 as well.
Diffstat (limited to 'dev-libs/cyrus-sasl/files/saslauthd2.conf')
-rw-r--r--dev-libs/cyrus-sasl/files/saslauthd2.conf32
1 files changed, 15 insertions, 17 deletions
diff --git a/dev-libs/cyrus-sasl/files/saslauthd2.conf b/dev-libs/cyrus-sasl/files/saslauthd2.conf
index e9a8cac78c7a..ba8d1be9abf2 100644
--- a/dev-libs/cyrus-sasl/files/saslauthd2.conf
+++ b/dev-libs/cyrus-sasl/files/saslauthd2.conf
@@ -1,24 +1,22 @@
-# Copyright 1999-2002 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/cyrus-sasl/files/saslauthd2.conf,v 1.1 2004/01/28 14:17:44 max Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/cyrus-sasl/files/saslauthd2.conf,v 1.2 2004/01/28 14:57:45 max Exp $
# Config file for /etc/init.d/saslauthd
-# Authentications mechanism (for list see saslauthd -v)
-SASL_AUTHMECH=pam
+# Initial (empty) options.
+SASLAUTHD_OPTS=""
-# Hostname for remote IMAP server (if rimap auth mech is used)
-SASL_RIMAP_HOSTNAME=""
+# Specify the authentications mechanism.
+# *NOTE* For list see: saslauthd -v
+SASLAUTHD_OPTS="${SASLAUTH_MECH} -a pam"
-# Honour time-of-day login restrictions (if shadow auth mech is used)
-# Make this ="" to turn it off. Putting =no will turn it on!
-SASL_TIME_OF_DAY_LOGIN_RESTRICTIONS=yes
+# Specify the hostname for remote IMAP server.
+# *NOTE* Only needed if rimap auth mech is used.
+#SASLAUTHD_OPTS="${SASLAUTHD_OPTS} -O localhost"
+# Specify the number of worker processes to create.
+#SASLAUTHD_OPTS="${SASLAUTHD_OPTS} -n 5"
-# Tack the above options together
-[ -n ${SASL_AUTHMECH} ] && \
- SASLAUTHD_OPTS="-a ${SASL_AUTHMECH}"
-[ -n ${SASL_RIMAP_HOSTNAME} ] && \
- SASLAUTHD_OPTS="${SASLAUTHD_OPTS} -O ${SASL_RIMAP_HOSTNAME}"
-[ -n ${SASL_TIME_OF_DAY_LOGIN_RESTRICTIONS} ] && \
- SASLAUTHD_OPTS="${SASLAUTHD_OPTS} -T"
+# Enable credential cache, cache size, and timeout.
+# *NOTE* Size is measured in kilobytes
+# Timeout is measured in seconds
+#SASLAUTHD_OPTS="${SASLAUTHD_OPTS} -c -s 128 -t 30"