You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@guacamole.apache.org by Junyao Deng <de...@wehi.edu.au> on 2018/05/29 00:24:07 UTC

Connection list auto refresh issue

Hi Developers,


We are currently using the guacamole for remote desktop access control(with LDAP Authentication). However, the current code has a problem that the connection list on the guacamole home page(user's home page) will not refresh automatically even the access of specific connection has been remove from the user. That is to say,  the unaccessible connection names still exist on the home page and the user can still reclick the connection link on the list to get access to the machine again.  Only when the web page session time out, the users will be forced to relogin , and then the connection list will be refresh(the unaccessible connection disappear this time).


We would like to modify the code, so that when the users are disconnected(access removed) and click the Home or Reconnect button, the users will be redirected to the homepage with the refreshed connection list.  But we can not find out the code/function to refresh the connection list. Would you mind telling me the location and related file names?


[cid:13627d35-fd28-4483-bf74-95d81d2c96fd]



Regards,

Junyao



_______________________________________________

The information in this email is confidential and intended solely for the addressee.
You must not disclose, forward, print or use it without the permission of the sender.

The Walter and Eliza Hall Institute acknowledges the Wurundjeri people of the Kulin
Nation as the traditional owners of the land where our campuses are located and
the continuing connection to country and community.
_______________________________________________

Re: Connection list auto refresh issue

Posted by Mike Jumper <mi...@glyptodon.org>.
On Mon, May 28, 2018 at 5:24 PM, Junyao Deng <de...@wehi.edu.au> wrote:

> Hi Developers,
>
>
> We are currently using the guacamole for remote desktop access
> control(with LDAP Authentication). However, the current code has a problem
> that the connection list on the guacamole home page(user's home page) will
> not refresh automatically even the access of specific connection has been
> remove from the user. That is to say,  the unaccessible connection names
> still exist on the home page and the user can still reclick the connection
> link on the list to get access to the machine again.  Only when the web
> page session time out, the users will be forced to relogin , and then the
> connection list will be refresh(the unaccessible connection disappear
> this time).
>

This is intentional. When reading connections from LDAP, those connections
are cached in memory for the duration of the user's session. Changes to the
available connections will not take effect until the user logs out, as this
query is only executed when the user logs in.

Can you explain at a high level what you're trying to achieve? Why are you
looking to update LDAP while a user is logged in?

- Mike