You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@guacamole.apache.org by "Romain Aviolat (Jira)" <ji...@apache.org> on 2022/02/17 13:22:00 UTC

[jira] [Commented] (GUACAMOLE-1539) "FATAL: No authentication configured" when using the auth-json extension

    [ https://issues.apache.org/jira/browse/GUACAMOLE-1539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17493932#comment-17493932 ] 

Romain Aviolat commented on GUACAMOLE-1539:
-------------------------------------------

Created a PR here for now -> [https://github.com/apache/guacamole-client/pull/700]

> "FATAL: No authentication configured" when using the 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
>            Priority: Minor
>
> 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)