diff options
author | Simon Rettberg | 2021-03-12 15:13:00 +0100 |
---|---|---|
committer | Simon Rettberg | 2021-03-12 15:13:00 +0100 |
commit | 2d81753ec127a9e72aa0fe0888353116be96c99b (patch) | |
tree | 136b617c7912228369006592624ee44707407a80 /core/modules/pam-bwidm | |
parent | [kiosk-chromium] Need libnss3-tools for certutil (diff) | |
download | mltk-2d81753ec127a9e72aa0fe0888353116be96c99b.tar.gz mltk-2d81753ec127a9e72aa0fe0888353116be96c99b.tar.xz mltk-2d81753ec127a9e72aa0fe0888353116be96c99b.zip |
[pam-bwidm] Retry fetching idp list from master-server
Diffstat (limited to 'core/modules/pam-bwidm')
-rwxr-xr-x | core/modules/pam-bwidm/data/opt/openslx/scripts/pam_bwidm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/pam-bwidm/data/opt/openslx/scripts/pam_bwidm b/core/modules/pam-bwidm/data/opt/openslx/scripts/pam_bwidm index a22a115f..c43ed314 100755 --- a/core/modules/pam-bwidm/data/opt/openslx/scripts/pam_bwidm +++ b/core/modules/pam-bwidm/data/opt/openslx/scripts/pam_bwidm @@ -95,7 +95,7 @@ if ! [ -s "${IDP_QUERY_CACHE}" ]; then echo "No IDP info cached, cache path not writable for current user." exit 7 fi - idpret="$(curl -w "%{http_code}" -o "${IDP_QUERY_CACHE}" --connect-timeout 5 --max-time 15 "$IDP_QUERY_URL")" + idpret="$(curl --retry 3 --retry-connrefused --retry-delay 1 --retry-max-time 15 -w "%{http_code}" -o "${IDP_QUERY_CACHE}" --connect-timeout 2 --max-time 6 "$IDP_QUERY_URL")" if [ "${#idpret}" != 3 ] || [ "x${idpret:0:1}" != "x2" ]; then echo "Could not download the list of identity providers from '$IDP_QUERY_URL'. Aborting." rm -f -- "$IDP_QUERY_CACHE" |