You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by Henry Cole <he...@henrycole.uk> on 2022/10/29 15:31:50 UTC
SAML Environment Variables via Docker Compose
Hi all
I am running Guacamole in Docker, using Docker Compose.
I'm currently trying to set up SAML, but am struggling to get the SAML properties to apply.
My docker-compose.yml file contains the following environment variables section:
environment:
ENABLE_ENVIRONMENT_PROPERTIES: "true"
GUACD_HOSTNAME: guacd
MYSQL_DATABASE: guacamole
MYSQL_HOSTNAME: (removed)
MYSQL_PASSWORD: (removed)
MYSQL_USER: guacamole
EXTENSION_PRIORITY: SAML
SAML_IDP_URL: https://login.microsoftonline.com/(removed)
SAML_ENTITY_ID: https://(removed)/
SAML_CALLBACK_URL: https://(removed)/
However, when the Guacamole container starts, if I attach to it and cat /home/guacamole/.guacamole/guacamole.properties, it contains the hostname and database connection (which is working fine) but not the SAML properties - and the SAML config does not seem to apply.
Is this the correct approach to configure SAML for the Guacamole docker image, or am I missing something?
Thanks in advance,
Henry
RE: SAML Environment Variables via Docker Compose
Posted by Henry Cole <he...@henrycole.uk>.
Having done some digging, I see the logic for the SAML plugin is not included in the start.sh script for 1.4.0.
I got around this by linking the 1.5.0 start.sh script from github to my docker container, which allowed me to use the SAML plugin.
Thanks
Henry
From: Henry Cole <he...@henrycole.uk>
Sent: 29 October 2022 16:32
To: user@guacamole.apache.org
Subject: SAML Environment Variables via Docker Compose
Hi all
I am running Guacamole in Docker, using Docker Compose.
I'm currently trying to set up SAML, but am struggling to get the SAML properties to apply.
My docker-compose.yml file contains the following environment variables section:
environment:
ENABLE_ENVIRONMENT_PROPERTIES: "true"
GUACD_HOSTNAME: guacd
MYSQL_DATABASE: guacamole
MYSQL_HOSTNAME: (removed)
MYSQL_PASSWORD: (removed)
MYSQL_USER: guacamole
EXTENSION_PRIORITY: SAML
SAML_IDP_URL: https://login.microsoftonline.com/(removed)
SAML_ENTITY_ID: https://(removed)/
SAML_CALLBACK_URL: https://(removed)/
However, when the Guacamole container starts, if I attach to it and cat /home/guacamole/.guacamole/guacamole.properties, it contains the hostname and database connection (which is working fine) but not the SAML properties - and the SAML config does not seem to apply.
Is this the correct approach to configure SAML for the Guacamole docker image, or am I missing something?
Thanks in advance,
Henry