Uploaded image for project: 'Guacamole'
  1. Guacamole
  2. GUACAMOLE-659

Docker Image does not allow default authentication

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 0.9.14
    • None
    • guacamole-client
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              teeks99 Tom Kent
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: