This repository was archived by the owner on Jul 11, 2018. It is now read-only.
File tree 2 files changed +10
-6
lines changed
2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -12,10 +12,10 @@ auth.simplesamlphp.idp.binding = "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-R
12
12
; Portal database
13
13
; Portal stuff is no longer supported in OpenConext
14
14
; ToDo: remove dependencies on below credentials
15
- resources.multidb.coin_portal.host = " localhost"
16
- resources.multidb.coin_portal.username = " root "
17
- resources.multidb.coin_portal.password = " c0n3xt "
18
- resources.multidb.coin_portal.dbname = " portal"
15
+ ; resources.multidb.coin_portal.host = "localhost"
16
+ ; resources.multidb.coin_portal.username = "xxx "
17
+ ; resources.multidb.coin_portal.password = "xxx "
18
+ ; resources.multidb.coin_portal.dbname = "portal"
19
19
20
20
; Engine database
21
21
resources.multidb.engine_block.host = " localhost"
Original file line number Diff line number Diff line change @@ -35,11 +35,15 @@ sed -e "s/_OPENCONEXT_DOMAIN_/$OC_DOMAIN/g" $OC_BASEDIR/configs/surfconext/manag
35
35
# Apply credentials to file manage.ini
36
36
sed -i " s/__OC__MANAGE_DB_USER__/$OC__MANAGE_DB_USER /g" /etc/surfconext/manage.ini
37
37
sed -i " s/__OC__MANAGE_DB_PASS__/$OC__MANAGE_DB_PASS /g" /etc/surfconext/manage.ini
38
- sed -i " s/__OC__ENGINEBLOCK_DB_USER__/ $OC__ENGINEBLOCK_DB_USER /g" /etc/surfconext/manage.ini
39
- sed -i " s/__OC__ENGINEBLOCK_DB_PASS__/ $OC__ENGINEBLOCK_DB_PASS /g" /etc/surfconext/manage.ini
38
+ sed -i " s/__OC__ENGINE_DB_USER__/ $OC__ENGINE_DB_USER /g" /etc/surfconext/manage.ini
39
+ sed -i " s/__OC__ENGINE_DB_PASS__/ $OC__ENGINE_DB_PASS /g" /etc/surfconext/manage.ini
40
40
sed -i " s/__OC__SERVICEREGISTRY_DB_USER__/$OC__SERVICEREGISTRY_DB_USER /g" /etc/surfconext/manage.ini
41
41
sed -i " s/__OC__SERVICEREGISTRY_DB_PASS__/$OC__SERVICEREGISTRY_DB_PASS /g" /etc/surfconext/manage.ini
42
42
43
+
44
+ # When manage.ini still contains the default root password of the DB, change it to the oc_config value.
45
+ sed -i " s~c0n3xt~$OC__ROOT_DB_PASS ~g" /etc/surfconext/manage.ini
46
+
43
47
CRT_NO_HEADERS=` sed ' 1d;$d' /etc/surfconext/engineblock.crt` &&
44
48
echo " auth.simplesamlphp.idp.cert = \" ${CRT_NO_HEADERS} \" " >> /etc/surfconext/manage.ini
45
49
You can’t perform that action at this time.
0 commit comments