Hi Roberto,

You should follow the instructions posted at 
https://guacamole.apache.org/doc/gug/guacamole-docker.html#saml-authentication 
for configuring your container with the SAML settings (regardless of if you are 
using podman, you can set the same environment variables in the container for 
SAML settings). I think it will be something like this, which is using the 
MockSAML service to test SAML integrations:

podman run \
  --name guacamole-client \
  --network guacamole-network \
  -e MYSQL_DATABASE=guacdb \
  -e MYSQL_USER=guacadmin \
  -e MYSQL_PASSWORD=password \
  -e GUACD_HOSTNAME=guacamole-server \
  -e MYSQL_HOSTNAME=guacamoledb \
  -e SAML_IDP_METADATA_URL=https://mocksaml.com/api/saml/metadata \
  -e SAML_ENTITY_ID=http://localhost:8090/guacamole/ \
  -e SAML_CALLBACK_URL=http://localhost:8090/guacamole/ \
  -e SAML_STRICT=false \
  -d \
  -p 8090:8080 \
  guacamole/guacamole

________________________________
From: Roberto Torres <robe...@prohard.com.br>
Sent: Monday, September 23, 2024 9:55 AM
To: user@guacamole.apache.org <user@guacamole.apache.org>
Subject: Podman - Guacamole

I installed Apache Guacamole following these steps:
https://medium.com/@kunwarmahen/how-to-install-apache-guacamole-using-podman-on-ubuntu-1201b2698071

It worked very well. But now I need to implement SAML authentication.

I went into guacamole-client and made changes to 
/home/guacamole/.guacamole/guacamole.properties

When restarting the container, the settings are lost.

As a test, I left a copy of guacamole.properties in /home/guacamole. When 
restarting the container, the settings are maintained.

Where am I going wrong?

Reply via email to