You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@guacamole.apache.org by "Tom Kent (JIRA)" <ji...@apache.org> on 2018/11/11 14:27:00 UTC

[jira] [Created] (GUACAMOLE-659) Docker Image does not allow default authentication

Tom Kent created GUACAMOLE-659:
----------------------------------

             Summary: 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


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
(v7.6.3#76005)