diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2011-10-02 11:09:35 +0200 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2011-10-02 11:09:35 +0200 |
commit | 236dd955d35a8f06e2b08af06cbf0a0a379f2edb (patch) | |
tree | 3b598664db1436c429b24e39ce079333556fdcd8 | |
parent | fa25d090b2ab9698dff42e65bc0aa5b1b16de3f1 (diff) |
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
-rw-r--r-- | debian/nslcd.config | 2 |
1 files changed, 1 insertions, 1 deletions
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 |