Misprint on the .tar.gz. Should be just .tar. So excited to get this working.
The solution was to follow the action item sent resulting in the following configuration: The CAS Authentication directives in $GUACAMOLE_HOME/guacamole.properties cas-authorization-endpoint: https://path.to.the/cas cas-redirect-uri:https://path.to.guacamole.host/guacamole From the Guacamole Manual, Chapter 6. Database authentication section mysql/ the jar files for /extensions and /lib have been added. $GUACAMOLE_HOME/extensions/guacamole-auth-jdbc-mysql-0.9.14.jar $GUACAMOLE_HOME/lib/mysql-connector-java-5.1.44-bin.jar In $GUACAMOLE_HOME/extensions there are two jar files -rw-r--r-- 1 root tomcat 930509 Aug 28 18:27 guacamole-auth-cas-0.9.14.jar -rw-r--r-- 1 root root 3968839 Aug 29 17:51 guacamole-auth-jdbc-mysql-0.9.14.jar In $GUACAMOLE_HOME/lib there is one jar file -rw-r--r-- 1 root tomcat 999635 Aug 28 18:28 mysql-connector-java-5.1.44-bin.jar Some testing steps: 1 With the guacamole-auth-jdbc-mysql-0.9.14.jar only Guacamole was reachable but the user (guacadmin) had no privileges, existing Connections were not showing up. 2 With the guacamole-auth-jdbc-mysql-0.9.14.jar and guacamole-auth-jdbc-mysql-0.9.14.jar the 500 (Internal Server Error) occurred with a deadly crash. From the tomcat catalina log SEVERE: Mapped exception to response: 500 (Internal Server Error) org.apache.guacamole.rest.APIException From file localhost_access_log.2018-08-30.txt "POST /guacamole/api/tokens HTTP/1.1" 500 185 Note that the redirect was attempted, show in the localhost_access_log.2018-08-30.txt "POST /guacamole HTTP/1.1" 302 3 the solution Add the mysql-connector-java-5.1.44-bin.jar to $GUACAMOLE_HOME/lib (just like Chapter 6 told me to do!) Thanks so much Getting a task done on a Friday is so sweet! GUINNESS time! From: Nick Couchman <[email protected]> Sent: Friday, August 31, 2018 2:36 PM To: [email protected] Subject: Re: CAS Authentication problem On Thu, Aug 30, 2018 at 1:08 PM Poteat, William D. <[email protected]<mailto:[email protected]>> wrote: 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. You'll want to unpack the tar.gz file so that you have a JAR, but that's the correct one. Sounds like maybe you got all of it working - what did it turn out to be? -Nick
