SOURCES: saslauthd.init, saslauthd.sysconfig - add $SASLAUTHD_THREADS and $...

glen glen at pld-linux.org
Tue Feb 3 16:36:24 CET 2009


Author: glen                         Date: Tue Feb  3 15:36:24 2009 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- add $SASLAUTHD_THREADS and $SASLAUTHD_CACHE options

---- Files affected:
SOURCES:
   saslauthd.init (1.10 -> 1.11) , saslauthd.sysconfig (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SOURCES/saslauthd.init
diff -u SOURCES/saslauthd.init:1.10 SOURCES/saslauthd.init:1.11
--- SOURCES/saslauthd.init:1.10	Fri Jan 30 13:21:41 2009
+++ SOURCES/saslauthd.init	Tue Feb  3 16:36:18 2009
@@ -15,12 +15,20 @@
 # Get service config
 [ -f /etc/sysconfig/saslauthd ] && . /etc/sysconfig/saslauthd
 
-if [ "x$SASL_AUTHMECH" != "x" ]; then
+if [ "$SASL_AUTHMECH" ]; then
 	SASLAUTHD_OPTS="$SASLAUTHD_OPTS -a $SASL_AUTHMECH"
 fi
 
-if [ "x$SASL_RIMAP_HOSTNAME" != "x" ]; then
+if [ "$SASL_RIMAP_HOSTNAME" ]; then
 	SASLAUTHD_OPTS="$SASLAUTHD_OPTS -O $SASL_RIMAP_HOSTNAME"
+fi
+
+if is_yes "$SASLAUTHD_CACHE"; then
+	SASLAUTHD_OPTS="$SASLAUTHD_OPTS -c"
+fi
+
+if [ "$SASLAUTHD_THREADS" ]; then
+	SASLAUTHD_OPTS="$SASLAUTHD_OPTS -n $SASLAUTHD_THREADS"
 fi
 
 start() {

================================================================
Index: SOURCES/saslauthd.sysconfig
diff -u SOURCES/saslauthd.sysconfig:1.3 SOURCES/saslauthd.sysconfig:1.4
--- SOURCES/saslauthd.sysconfig:1.3	Thu Jan 29 22:29:07 2004
+++ SOURCES/saslauthd.sysconfig	Tue Feb  3 16:36:19 2009
@@ -6,6 +6,11 @@
 # 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)
-# SASL_TIME_OF_DAY_LOGIN_RESTRICTIONS=yes
-# --- not longer used
+# Enable cacheing of authentication credentials
+#SASLAUTHD_CACHE="yes"
+
+# Use threads processes for responding to authentication queries. (default: 5)
+#SASLAUTHD_THREADS="5"
+
+# any other option not covered with an configuration variable
+#SASLAUTHD_OPTS="-c"
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/saslauthd.init?r1=1.10&r2=1.11&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/saslauthd.sysconfig?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list