From 236dd955d35a8f06e2b08af06cbf0a0a379f2edb Mon Sep 17 00:00:00 2001 From: Arthur de Jong Date: Sun, 2 Oct 2011 09:09:35 +0000 Subject: treat the "hard" value for tls_reqcert as if it was "demand" (r1546 from trunk) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-0.7@1548 ef36b2f9-881f-0410-afb5-c4e39611909c --- debian/nslcd.config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/nslcd.config b/debian/nslcd.config index 2ac2a38..2ca8dc8 100644 --- a/debian/nslcd.config +++ b/debian/nslcd.config @@ -130,7 +130,7 @@ parsecfg() 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 -- cgit v1.2.3