Skip to content

Commit

Permalink
GUACAMOLE-897: Merge add Docker support for restricting authenticatio…
Browse files Browse the repository at this point in the history
…n to database users only
  • Loading branch information
necouchman committed Oct 22, 2019
2 parents ff8fb55 + 1358eb0 commit 062edda
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions guacamole-docker/bin/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,10 @@ END
"mysql-default-max-group-connections-per-user" \
"$MYSQL_DEFAULT_MAX_GROUP_CONNECTIONS_PER_USER"

set_optional_property \
"mysql-user-required" \
"$MYSQL_USER_REQUIRED"

# Add required .jar files to GUACAMOLE_LIB and GUACAMOLE_EXT
ln -s /opt/guacamole/mysql/mysql-connector-*.jar "$GUACAMOLE_LIB"
ln -s /opt/guacamole/mysql/guacamole-auth-*.jar "$GUACAMOLE_EXT"
Expand Down Expand Up @@ -324,6 +328,10 @@ END
"postgresql-default-max-group-connections-per-user" \
"$POSTGRES_DEFAULT_MAX_GROUP_CONNECTIONS_PER_USER"

set_optional_property \
"postgresql-user-required" \
"$POSTGRES_USER_REQUIRED"

# Add required .jar files to GUACAMOLE_LIB and GUACAMOLE_EXT
ln -s /opt/guacamole/postgresql/postgresql-*.jar "$GUACAMOLE_LIB"
ln -s /opt/guacamole/postgresql/guacamole-auth-*.jar "$GUACAMOLE_EXT"
Expand Down

0 comments on commit 062edda

Please sign in to comment.