On Fri, Jul 3, 2020 at 8:55 PM Nick Couchman <[email protected]> wrote:

> On Fri, Jul 3, 2020 at 1:25 PM Dashamir Hoxha <[email protected]>
> wrote:
>
>> On Fri, Jul 3, 2020 at 5:19 PM Nick Couchman <[email protected]> wrote:
>>
>>> On Thu, Jul 2, 2020 at 5:13 PM Dashamir Hoxha <[email protected]>
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> In the latest version of guacamole (1.2.0) I am having problems with
>>>> connection sharing (
>>>> https://guacamole.apache.org/doc/gug/administration.html#idm45241640220720
>>>> )
>>>>
>>>> I create a new sharing profile but it does not appear on the list.
>>>> Then the share menu does not appear at all to the users (
>>>> https://guacamole.apache.org/doc/gug/using-guacamole.html#client-share-menu
>>>> )
>>>>
>>>>
>>> Did you give the user who is sharing the connection access to the
>>> Sharing Profile?
>>>
>>
>> Even the admin user has this problem.
>> When I say "it does not appear on the list" I mean it does not appear
>> even in the list of sharing profiles on the settings interface (you just
>> clicked on "New Sharing Profile" and saved it, but it does not appear on
>> the list).
>>
>>
>
> Interesting - is there anything printed to the Tomcat log files when you
> try to add the sharing profile?  I suspect something is a little messed up
> in the database - either the schema is wrong (lacking tables that support
> connection sharing) or the permissions for the user accessing the database
> are incorrect (no ability to write to the table).  Usually this would
> generate warnings or errors on the web UI, but I'm curious to know what is
> printed in the log files.
>

I don't see anything on the logs (/var/log/tomcat9). Also the database
seems to be correct:


MariaDB [guacamole_db]> select * from guacamole_sharing_profile;
+--------------------+----------------------+-----------------------+
| sharing_profile_id | sharing_profile_name | primary_connection_id |
+--------------------+----------------------+-----------------------+
|                  1 | Watch                |                     1 |
+--------------------+----------------------+-----------------------+

MariaDB [guacamole_db]> select * from guacamole_sharing_profile_parameter;
+--------------------+----------------+-----------------+
| sharing_profile_id | parameter_name | parameter_value |
+--------------------+----------------+-----------------+
|                  1 | read-only      | true            |
+--------------------+----------------+-----------------+

MariaDB [guacamole_db]> select * from guacamole_sharing_profile_permission;
+-----------+--------------------+------------+
| entity_id | sharing_profile_id | permission |
+-----------+--------------------+------------+
|         1 |                  1 | READ       |
|         1 |                  1 | UPDATE     |
|         1 |                  1 | DELETE     |
|         1 |                  1 | ADMINISTER |
+-----------+--------------------+------------+



> -Nick
>

Reply via email to