Romain Aviolat created GUACAMOLE-1539:
-----------------------------------------

             Summary: "FATAL: No authentication configured" when using only 
auth-json extension
                 Key: GUACAMOLE-1539
                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-1539
             Project: Guacamole
          Issue Type: Improvement
          Components: guacamole-auth-json, guacamole-client
    Affects Versions: 1.4.0
            Reporter: Romain Aviolat


When using Guacamole in "state-less" mode with the auth-json extension, the 
default setup doesn't work out-of-the-box and complains that a database backend 
must be present:
{code:java}
| 
-------------------------------------------------------------------------------
| The Guacamole Docker container needs at least one authentication mechanism in
| order to function, such as a MySQL database, PostgreSQL database, LDAP
| directory or RADIUS server. 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.
| FATAL: No authentication configured
| 
-------------------------------------------------------------------------------
{code}
The behavior is wrong as Guacamole-client is able to function without any 
database backend with just the auth-json extension enabled.

By commenting this following condition it works as expected: 
https://github.com/apache/guacamole-client/blob/master/guacamole-docker/bin/start.sh#L1058



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to