diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2011-09-21 18:59:49 +0000 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2011-09-21 18:59:49 +0000 |
commit | e284523521a8aa2b529240ea741978bfdd723215 (patch) | |
tree | 5049570ee80b3b2d0d4a9f544eb7c2a7b611fe30 | |
parent | 5a09aebb13aef563ad804f3fe344610c5f013ce3 (diff) |
treat the "hard" value for tls_reqcert as if it was "demand"
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1546 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 c0154ce..d99fe38 100644 --- a/debian/nslcd.config +++ b/debian/nslcd.config @@ -200,7 +200,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 |