summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kalika <max@gentoo.org>2004-01-28 14:17:44 +0000
committerMax Kalika <max@gentoo.org>2004-01-28 14:17:44 +0000
commit5f6df12994854bb81b1ce04943fe38c0eb70d43c (patch)
tree83247dbc47d4fc2e79f8b464420d02c7d6d05d11 /dev-libs/cyrus-sasl/files/saslauthd2.conf
parentVersion bumped (diff)
downloadhistorical-5f6df12994854bb81b1ce04943fe38c0eb70d43c.tar.gz
historical-5f6df12994854bb81b1ce04943fe38c0eb70d43c.tar.bz2
historical-5f6df12994854bb81b1ce04943fe38c0eb70d43c.zip
Drop 2.1.13. Re-add missing patches. Fix rimap hostname flag for newer sasl versions.
Diffstat (limited to 'dev-libs/cyrus-sasl/files/saslauthd2.conf')
-rw-r--r--dev-libs/cyrus-sasl/files/saslauthd2.conf24
1 files changed, 24 insertions, 0 deletions
diff --git a/dev-libs/cyrus-sasl/files/saslauthd2.conf b/dev-libs/cyrus-sasl/files/saslauthd2.conf
new file mode 100644
index 000000000000..e9a8cac78c7a
--- /dev/null
+++ b/dev-libs/cyrus-sasl/files/saslauthd2.conf
@@ -0,0 +1,24 @@
+# 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 $
+
+# Config file for /etc/init.d/saslauthd
+
+# Authentications mechanism (for list see saslauthd -v)
+SASL_AUTHMECH=pam
+
+# Hostname for remote IMAP server (if rimap auth mech is used)
+SASL_RIMAP_HOSTNAME=""
+
+# 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
+
+
+# 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"