lists.arthurdejong.org
RSS feed

nss-pam-ldapd commit: r1546 - nss-pam-ldapd/debian

[Date Prev][Date Next] [Thread Prev][Thread Next]

nss-pam-ldapd commit: r1546 - nss-pam-ldapd/debian



Author: arthur
Date: Wed Sep 21 20:59:49 2011
New Revision: 1546
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?revision=1546&view=revision

Log:
treat the "hard" value for tls_reqcert as if it was "demand"

Modified:
   nss-pam-ldapd/debian/nslcd.config

Modified: nss-pam-ldapd/debian/nslcd.config
==============================================================================
--- nss-pam-ldapd/debian/nslcd.config   Sun Sep 18 20:24:28 2011        (r1545)
+++ nss-pam-ldapd/debian/nslcd.config   Wed Sep 21 20:59:49 2011        (r1546)
@@ -200,7 +200,7 @@
   then
     reqcert=`sed -n 
's/^tls_\(reqcert\|checkpeer\)[[:space:]]*\([^[:space:]]*\)[[:space:]]*$/\2/ip' 
"$cfgfile" | tail -n 1`
     # normalise value
-    reqcert=`echo "$reqcert" | tr 'A-Z' 'a-z' | sed 
's/^no$/never/;s/^yes$/demand/'`
+    reqcert=`echo "$reqcert" | tr 'A-Z' 'a-z' | sed 
's/^no$/never/;s/^yes$/demand/;s/^hard$/demand/'`
     [ -n "$reqcert" ] && db_set nslcd/ldap-reqcert "$reqcert"
   fi
   # we're done
-- 
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits/