Skip to content

additional fix #11

Merged
merged 1 commit into from Oct 31, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 9 additions & 3 deletions configBuilder.sh
@@ -1,5 +1,7 @@
#!/bin/bash

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

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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 ""