lists.arthurdejong.org
RSS feed

nss-pam-ldapd commit: r1548 - in nss-pam-ldapd-0.7: . debian

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

nss-pam-ldapd commit: r1548 - in nss-pam-ldapd-0.7: . debian



Author: arthur
Date: Sun Oct  2 11:09:35 2011
New Revision: 1548
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?revision=1548&view=revision

Log:
treat the "hard" value for tls_reqcert as if it was "demand" (r1546 from trunk)

Modified:
   nss-pam-ldapd-0.7/   (props changed)
   nss-pam-ldapd-0.7/debian/nslcd.config

Modified: nss-pam-ldapd-0.7/debian/nslcd.config
==============================================================================
--- nss-pam-ldapd-0.7/debian/nslcd.config       Fri Sep 30 13:48:21 2011        
(r1547)
+++ nss-pam-ldapd-0.7/debian/nslcd.config       Sun Oct  2 11:09:35 2011        
(r1548)
@@ -130,7 +130,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/