Selected Configuration File Parameters (hasplm.ini)

If the Charon host system does not have a graphical user interface, it can be useful to modify the Sentinel ACC configuration via the configuration file, for example to allow remote access. The following table lists some of the more frequently used parameters in the hasplm.ini file that are normally set via the ACC web interface. The location of the file is shown on the bottom of the ACC configuration windows. The default location on Linux is /etc/hasplm. The default location on Windows is  C:\Program Files (x86)\Common Files\Aladdin Shared\HASP.

If you have to edit this file manually, please refer to the article How-to enable remote connection to Sentinel Admin Control Center without GUI. It provides a lot of helpful information.

ParameterDescription

accremote
allow remote access to ACC

The Sentinel ACC provides a web-based user interface for license management. If access is enabled, it can be accessed from a remote system via a browser (URL:<target-system>:1947).

Default: disabled (= 0). Remote access to the Sentinel ACC is blocked.

Older driver versions: to enable this function, set the parameter to 1

Driver versions >=7.100: to enable this function, set the parameter to 1 (=http) or to the string https.

General ACC access to the network must be enabled to allow remote access.
For this, make sure the parameter bind_local_only is set to 0.

accessfromremote
allow license access from remote clients

If enabled, remote systems can access licenses managed by this Sentinel License Manager. This is needed if the system acts as a license server for clients on the network.

Disabled: 0 (enabled is the default)

Older driver versions: to enable remote license access, set the parameter to 1.

Driver versions >7.100: to enable, chose

  • anyone,
  • split (anyone, but cloud licenses require client identity), or
  • secure (identifiable clients only).

For Charon emulator environments, anyone should be used to enable the function.

accesstoremote 
allow access to remote licenses
If set to 1 (default), this system will search for remote Sentinel License Managers on the network. Needed, if the system is to use a license served by a license manager on the network. Please note that not all products respect this setting for broadcast search.
broadcastsearch  broadcast search for remote licensesIf set to 1, this system will search for remote Sentinel License Managers on the local network via broadcasts. Note that the broadcast uses a random UDP port from 30000 to 65535. Any firewall between the client and the server must be configured to allow these ports in addition to the TCP port 1947. If this is disabled, the addresses of systems to search must be defined in the search parameter field. Please note that not all products respect this setting.

serveraddr 
remote license search parameters

Defines the specific systems that will be searched by this system in order to detect remote Sentinel License Managers and licenses served by them. Systems are specified by their IP addresses (for example, 10.1.1.17), by the broadcast addresses of an address range (for example, 10.1.1.255), or by the system name (for example, system1.example.com). When using the IPv6 protocol, use the IPv6 address format. For example, type FF02::1 to access all remote Sentinel License Managers that are part of the default local group defined in the IPv6 subnet.

bind_local_only
define if ACC should only be accessible from localhost

Default: 0 = all network adapters

Localhost-only = 1


Please note: by default the hasplm.ini file does not exist. It is created by Sentinel ACC when the first configuration change is performed via the web GUI. Should it be necessary to create this file manually, the following example shows the structure of the file.

Please note: he example is not a recommendation for actual settings. It is for informational purposes only.

Sample hasplm.ini

[SERVER]
name = myhostname
pagerefresh = 3
linesperpage = 20
ACCremote = 0

enabledetach = 0
reservedseats = 0
reservedpercent = 0
detachmaxdays = 14
commuter_delete_days = 7

requestlog = 0
loglocal = 0
logremote = 0
logadmin = 0
errorlog = 0
rotatelogs = 0
access_log_maxsize = 0 ;kB
error_log_maxsize = 0 ;kB
zip_logs_days = 0
delete_logs_days = 0
pidfile = 0
passacc = 0

accessfromremote = 1
accesstoremote = 1
bind_local_only = 0 ; 0=all adapters, 1=localhost only

[UPDATE]
download_url = www.safenet-inc.com/hasp/language_packs/end-user
update_host = www3.safenet-inc.com
language_url = /hasp/language_packs/end-user/

[REMOTE]
broadcastsearch = 0
aggressive = 0
serversearchinterval = 30
serveraddr = 192.168.2.115

[ACCESS]
allow=all

[USERS]
allow = all@all


[LOGPARAMETERS]
text = {timestamp} {clientaddr}:{clientport} {clientid} {method} {url} {function}({functionparams}) result({statuscode}){newline}




© Stromasys, 1999-2024  - All the information is provided on the best effort basis, and might be changed anytime without notice. Information provided does not mean Stromasys commitment to any features described.