A ThinLinc license supports the newest ThinLinc version available when the license bundle was created, and older versions. Sometimes customers install new license files without upgrading the ThinLinc server. This means it is possible to end up in a scenario where you, as an admin, are unsure what version you can upgrade to, without new licenses. The best way to find that information is to open a license files under /opt/thinlinc/etc/licenses/, but this is not very convenient. It would be cool if this information was available through `tlctl license` and Web Admin.
Should be done. Tested on Fedora 41 using a set of licenses: * One license file with one version * Two different licenses with different versions > MUST > > * The maximum supported ThinLinc version, given a set of licenses, must be available in an easy way for the admin. Yep, only the latest version from the license files is displayed. > SHOULD > > * The version should be available both through Web Admin and tlctl. Yep.
Testing: ======== I have tested this in both tlwebadm and tlctl, where I see the same results. * Using only one valid license-zip: "tlctl license show" lists which ThinLinc version the current license is valid for. * Using multiple valid license-zips: "tlctl license show" lists which ThinLinc version the current set of licenses are valid for. * Using only expired license-zips: "tlctl license show" finds no valid licenses and therefore falls back to using the 10 free licenses. No ThinLinc version compatibility info is printed. * Using a combination of expired, old and valid license-zips: "tlctl license show" lists which ThinLinc version, the valid licenses are valid for. To conclude, ThinLinc version compatibility is shown for licenses that are currently available for use. Licenses that the license handler has determined are expired or otherwise not usable by the current version of ThinLinc are not listed. This behavior should be OK since, as mentioned in comment 0, the use case here is mainly to make it easier for sysadmins to get an idea of how far they can upgrade without their valid licenses becoming invalid in the process.
As a sanity check, I emulated the upgrade scenario described in comment 9 by building the server with a lower version number, just to make sure that we weren't missing any edge cases. Web admin and tlctl both list the same ThinLinc version compatibility.
Closing!