On Sun, Jul 7, 2019 at 2:09 PM Nick Couchman <[email protected]> wrote:
> > Here the error from catalina.out: >> >> 10:00:25.850 [localhost-startStop-1] ERROR >> o.a.h.extension.ExtensionModule - >> Extension "guacamole-auth-totp-1.0.0.jar" could not be loaded: >> Authentication provider class cannot be loaded (wrong version of API?). >> 10:00:25.853 [localhost-startStop-1] INFO >> o.a.h.environment.LocalEnvironment - GUACAMOLE_HOME is "/etc/guacamole". >> >> I use MySQL authenticator and it works great, I have put *.jar in >> /etc/guacamole/extensions/ and from what I have found about TOTP, it don't >> need any configuration file nor into guacamole.properties, am I right? >> > > Yeah, it seems like there's some sort of mis-match between the TOTP jar > you're installing and the version of Guacamole Client that you're running. > Make sure it's all downloaded from the same place and the exact same > build/version. Just changing the version number somewhere in the code from > 1.1.0 to 1.0.0 or changing the filename won't do - the builds need to match > up. > BUT: If this is the TOTP extension from 1.0.0 and is occurring with a build of the Guacamole webapp from git (either master or staging/1.1.0), it's worth checking whether this is reproducible. The webapp from any 1.y release is supposed to be compatible with extensions from 1.x so long as x <= y, and there is specific ABI magic in 1.1.0 intended to allow compatibility with extensions from 1.0.0. If this is TOTP from 1.0.0 and webapp from git, my understanding is it should work. If it doesn't ... we probably need to nail that down before 1.1.0. - Mike
