Glink configuration parameters can be set individually from the MDM server or the MDM server can set a Glink parameter that instructs Glink to download a complete configuration file from a network location. A combination of the two methods can also be used. In the latter case the configuration file will be downloaded before specific parameters are set to complement or override the parameters in the file.
Below you will find some examples on how you can distribute a Glink configuration file.
config.version | This parameter specifies the version of the MDM parameters. If the version matches the version on the device, the rest of the parameters are ignored. |
config.url | This parameter provides the URL of the Glink configuration file. Please note that this parameter is ignored if the config.version parameter is missing or the version matches the version on the device |
Here is an example:
config.version=2 config.url=http://myhost.mydomain.xx/glink/group1/config.glink
The following parameters are sufficient to create a host configuration with default values:
config.version | This parameter (key-name) specifies the version of the MDM parameters. If the version number matches the version number on the device, the rest of the parameters are ignored. |
config.name | This is the name of the configuration (session) and must be provided. The configuration is created if it does not already exist. Additional parameters will be set for this selected configuration. |
com.servername | This specifies the IP address of your host |
For example:
config.version=1 config.name=myhost com.servername=myhost.mydomain.com
For other parameters you have to check your exported Glink configuration file config.glinki. These parameters must be defined as parameter_key/parameter_value pairs. For example:
Parameter key 1_config.name / Parameter value myhost2 Parameter key 1_com.servername / Parameter value host2.mydomain.com Parameter key 2_config.name / Parameter value myhost3 Parameter key 2_com.servername / Parameter value host3.mydomain.com
Parameters for the first session, named with config.name, you do not need a prefix, but other sessions need a prefix. Session 2 parameters are prefixed with 1_, session 3 parameters are prefixed with 2_ and so on.
How you set these parameters will depend on your MDM. Different methods are used. While some MDMs present a menu with the parameters that can be set (MobileIron, Meraki, Intune), others require an JSON-/XML-file with key-name and key-value pairs.
Here are some examples:
MobileIron (iOS), Meraki (iOS), Intune.
Parameter key config.name / Parameter value GeneralOptions Parameter key screen.noautolock / Parameter value true
Parameter key config.name / Parameter value GeneralOptions Parameter key screen.cfgpassword / Parameter value ##settingpasswordor the password for an auto-logon to IBM AS400/iSeries:
Parameter key config.name / Parameter value AS400 Parameter key com.servername / Parameter value myhost.mydomain.com Parameter key com.ibm5250user / Parameter value username Parameter key com.ibm5250subspw / Parameter value ##as400password Parameter key com.ibm5250usealtlogin / Parameter value true
<managedAppConfiguration> <version>1</version> <bundleId>no.gar.glink5250</bundleId> <dict> <string keyName="config.name"> <defaultValue> <value>MyConfigName</value> </defaultValue> </string> <string keyName="com.servername"> <defaultValue> <value>MyServerAddress</value> </defaultValue> </string> </dict> </managedAppConfiguration>Please note that the bundleId must match the Glink version you are using; either no.gar.glink5250, no.gar.glink3270, no.gar.glinkvt or no.gar.glink .