Hey Nick!

Thanks for that input. I couldn't find any documentation about the Web API.

So is it correct, there is no way to login with the Web API with TOTP?
That the user can read the active session, he must have admin privileges.
But if the user had admin rights, there is no way to disable the 2FA

Thanks. Lukas

Am Di., 13. Aug. 2019 um 12:41 Uhr schrieb Nick Couchman <vn...@apache.org>:

> On Tue, Aug 13, 2019 at 4:00 AM Lukas Krempler <l.kremp...@gmail.com>
> wrote:
>> hey everybody!
>> I'm searching for an easy way to get all actual open sessions from
>> guacamole users. Like the view in the guacamole backend "Active Sessions".
>> Maybe there is a way to write the open connections into the database, or
>> write a file in a specific folder.
>> To parse the logfiles to get the open sessions is not my favorite way.
>> I hope someone has such a good idea.
> The entire Guacamole Client front-end is API-driven, so all of the data
> that drives the displays, including the Active Sessions area, can be
> retrieved in JSON format from the Java back-end.  I wrote some sample
> Python code once upon a time to query things in the API and provide a
> couple of examples for how you could do this.  That (now fairly old) code
> lives here:
> https://github.com/necouchman/guacamole-python
> If you look through that you'll see the various API locations for
> retrieving active connections, connection history, etc., and some examples
> for killing active connections.
> -Nick

Reply via email to