guacamole-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Poteat, William D." <>
Subject RE: CAS Authentication problem
Date Thu, 30 Aug 2018 17:07:45 GMT
I added  guacamole-auth-jdbc-mysql-0.9.14.jar to $GUACAMOLE_HOME/extensions.
Now have two .jar files guacamole-auth-cas-0.9.14.tar.gz and guacamole-auth-jdbc-mysql-0.9.14.jar.

Is that the expected jdbc jar?  Or should it be guacamole-auth-jdbc-sqlserver-0.9.14.jar ?
or both ?

Adding the guacamole-auth-jdbc-mysql-0.9.14.jar causes this

SEVERE: Mapped exception to response: 500 (Internal Server Error)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
        at java.lang.reflect.Method.invoke(
        at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(
        at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(
        at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(
        at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(
        at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(
        at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(
        at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(
        at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(
        at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(
        at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(
        at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(
        at com.sun.jersey.spi.container.servlet.WebComponent.service(
        at com.sun.jersey.spi.container.servlet.ServletContainer.service(
        at com.sun.jersey.spi.container.servlet.ServletContainer.service(
        at javax.servlet.http.HttpServlet.service(
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(
        at org.apache.catalina.core.StandardWrapperValve.invoke(
        at org.apache.catalina.core.StandardContextValve.invoke(
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(
        at org.apache.catalina.core.StandardHostValve.invoke(
       at org.apache.catalina.valves.ErrorReportValve.invoke(
        at org.apache.catalina.valves.AccessLogValve.invoke(
        at org.apache.catalina.core.StandardEngineValve.invoke(
        at org.apache.catalina.connector.CoyoteAdapter.service(
        at org.apache.coyote.http11.AbstractHttp11Processor.process(
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(
        at java.util.concurrent.ThreadPoolExecutor.runWorker(
        at java.util.concurrent.ThreadPoolExecutor$
        at org.apache.tomcat.util.threads.TaskThread$

I am sooo close to getting this to work.
Thanks for any help

PS: there is nothing in the directory $GUACAMOLE_HOME/lib.
Should there be ?

From: Nick Couchman <>
Sent: Wednesday, August 29, 2018 2:06 PM
Subject: Re: CAS Authentication problem

On Wed, Aug 29, 2018 at 12:25 PM Poteat, William D. <<>>
What version of Guacamole are you using?  Are all of your extensions the same version?

Using version Guacamole 0.9.14
/etc/guacamole/extensions/guacamole-auth-cas-0.9.14                 is my only extension

If this is your only extension, then this is at least part of the problem.  You need to also
have the JDBC extension present in here so that the two extensions can be layered, and the
authentication from CAS will match up with the username in the JDBC module.  Make sure both
the CAS extension and the JDBC extension are in this folder.

So you have a guacadmin user that logs into CAS?  When you created the JDBC portion, did you
import both of the SQL schema files - there are two, one for the base schema, and one for
configuring the guacadmin account.  Can you verify that you imported both when creating the

I used an install script from  Is that a problem ?

Quite possibly.  Whatever script this is seems to be quite popular, and it isn't associated
with the Guacamole project.  I'm not knocking the script, I've just never used it, don't know
much about it, and can't support it.

So I did not explicitly import the SQL schema files.
But do have the following:

# ls  /usr/local/src/guacamole/0.9.14/extension/mysql/schema
001-create-schema.sql  002-create-admin-user.sql

# ls /usr/local/src/guacamole/0.9.14/extension/sqlserver/schema
001-create-schema.sql  002-create-admin-user.sql

Also have many JDBC4*.java  and  JDBC42*.java files  in

This is all good, just make sure you have both extensions installed and that they're both
getting loaded.  I'm not sure what all the script does, but those two schema files have to
actually be loaded into the Guacamole database that gets created, else it won't work.

View raw message