[ https://issues.apache.org/jira/browse/GUACAMOLE-659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17922099#comment-17922099 ]
Jean Seurin commented on GUACAMOLE-659: --------------------------------------- This saved my life, I couldn't understand at all why I received this message. > {{The Guacamole Docker container needs at least one authentication mechanism > }} I wasn't even able to track where it comes from in the github repos. I find it very counter intuitive, it should indicated clearly in the documentation here: [https://guacamole.apache.org/doc/gug/configuring-guacamole.html#user-mapping-xml] my 2c > Docker Image does not allow default authentication > -------------------------------------------------- > > Key: GUACAMOLE-659 > URL: https://issues.apache.org/jira/browse/GUACAMOLE-659 > Project: Guacamole > Issue Type: Bug > Components: guacamole-client > Affects Versions: 0.9.14 > Reporter: Tom Kent > Priority: Major > > When starting a docker image, I mount a directory with a guacamole.properties > and user-mapping.xml: > {{docker run --name some-guac --link some-guacd:guacd -p 8080:8080 -v > $PWD/settings:/etc/guacamole guacamole/guacamole}} > However, when the instance starts up, it immediately fails because there is > no mysql, postgres, or LDAP authentication. > {{FATAL: No authentication configured}} > {{-------------------------------------------------------------------------------}} > {{The Guacamole Docker container needs at least one authentication mechanism > in}} > {{order to function, such as a MySQL database, PostgreSQL database, or LDAP}} > {{directory. Please specify at least the MYSQL_DATABASE or POSTGRES_DATABASE}} > {{environment variables, or check Guacamole's Docker documentation regarding}} > {{configuring LDAP and/or custom extensions.}} > Ideally, there would be a check in > guacamole-client/guacamole-docker/bin/start.sh to see if user-mapping.xml > exists in $GUACAMOLE_HOME and allow it to proceed. -- This message was sent by Atlassian Jira (v8.20.10#820010)