On Tue, Aug 31, 2021 at 12:02 PM Alexander Pelz <[email protected]> wrote:
> Thanks Nick, > > The debug log-level have now given me more input on what's causing the > error. > Apparently it seems like the webapp is still trying to use the default > file-based auth mechanism instead of using the mysql/mariadb approach: > > 17:57:50.495 [http-nio-8080-exec-7] DEBUG > o.a.g.a.f.FileAuthenticationProvider - User mapping file > "/etc/guacamole/user-mapping.xml" does not exist and will not be read. > 17:57:50.500 [http-nio-8080-exec-7] DEBUG > o.a.g.r.auth.AuthenticationService - Anonymous authentication attempt from > [10.0.0.22, 10.0.0.122] failed. > 17:57:50.501 [http-nio-8080-exec-7] DEBUG o.a.g.rest.RESTExceptionMapper - > Client request rejected: Permission Denied. > 17:58:00.495 [http-nio-8080-exec-2] DEBUG > o.a.g.a.f.FileAuthenticationProvider - User mapping file > "/etc/guacamole/user-mapping.xml" does not exist and will not be read. > 17:58:00.495 [http-nio-8080-exec-2] WARN > o.a.g.r.auth.AuthenticationService - Authentication attempt from > [10.0.0.22, 10.0.0.122] for user "guacadmin" failed. > 17:58:00.495 [http-nio-8080-exec-2] DEBUG o.a.g.rest.RESTExceptionMapper - > Client request rejected: Permission Denied. > > I thought with Version 1.0.0 it was no longer required to specify an > authHandler? > Correct, the auth-handler property has been deprecated and has no effect. I would check the following: * Make sure the JDBC jar file is installed in /etc/guacamole/extensions, or wherever your extensions directory is. * Make sure permissions are correct so that the user running Tomcat can get to the /etc/guacamole directory (and all subdirectories). * Look higher up in the logs, during the startup of Tomcat (or deployment of the guacamole WAR file) to make sure it's loading the expected extensions, and see if there are any other errors, there. -Nick >
