Skip to content
Permalink
Browse files

additional fix

  • Loading branch information
pcaskey committed Oct 31, 2017
1 parent 8adf197 commit e3b7c447145835ee4e3579c708006c587f5047d8
Showing with 9 additions and 3 deletions.
  1. +9 −3 configBuilder.sh
@@ -1,5 +1,7 @@
#!/bin/bash

echo ""
echo ""
#temp for container version
cd /scriptrun

@@ -440,9 +442,12 @@ IDP_PROP=${SHBCFG}/idp.properties
if test \! -f ${IDP_PROP}.dist; then
cp ${IDP_PROP} ${IDP_PROP}.dist
fi
sed "s/example.org/${SCOPE}/" ${IDP_PROP}.dist > ${IDP_PROP}.tmp
sed "s#Password= changeit#Password= ${SEALERPWD}#" ${IDP_PROP}.tmp > ${IDP_PROP}

sed "s/example.org\/idp\/shibboleth/${FQDN}\/idp\/shibboleth/" ${IDP_PROP}.dist > ${IDP_PROP}.tmp
sed "s/= example.org/= ${SCOPE}/" ${IDP_PROP}.tmp > ${IDP_PROP}.tmp2
sed "s#Password= changeit#Password= ${SEALERPWD}#" ${IDP_PROP}.tmp2 > ${IDP_PROP}
rm -f ${IDP_PROP}.tmp
rm -f ${IDP_PROP}.tmp2
#

# set ldap URL, baseDN, svcDN, pwd in ldap.properties
@@ -688,4 +693,5 @@ rmdir ${TMP_DIR_T}
#echo config saved to ${FILENAME:2}
echo config saved to configured local directory
sleep 5

echo ""
echo ""

0 comments on commit e3b7c44

Please sign in to comment.
You can’t perform that action at this time.