GitHub user mike-jumper opened a pull request:

    https://github.com/apache/incubator-guacamole-client/pull/189

    GUACAMOLE-395: Populate "expired" property of Guacamole users defined via 
MySQL / MariaDB.

    The mapping for the `expired` column of `guacamole_user` is missing in the 
read direction for MySQL. For reference, see the corresponding PostgreSQL 
mapping:
    
    
https://github.com/apache/incubator-guacamole-client/blob/b90a98946359c9b0b7e4af8571034961d47322fa/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-postgresql/src/main/resources/org/apache/guacamole/auth/jdbc/user/UserMapper.xml#L26-L44
    
    The column is queried in each `SELECT`. The value is simply dropped upon 
being queried due to that part of the result being unmapped, leaving the 
`expired` property of each user at the initial value of `false`.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/mike-jumper/incubator-guacamole-client 
mysql-expired

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-guacamole-client/pull/189.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #189
    
----
commit 22760b5d0b722bfcb0380c37f7414868eebf40bb
Author: Michael Jumper <[email protected]>
Date:   2017-09-12T20:04:48Z

    GUACAMOLE-395: Populate "expired" property of Guacamole users defined via 
MySQL / MariaDB.

----


---

Reply via email to