# Software Protection Manager  --  Configuration file

[Settings]
# In this section general settings of the SPM system are defined.
# The settings from the configuration file can be overridden by
# command line options if applicapable for the specific program.
# Settings are applied in the following order
#   1) setting from command line option
#   2) setting from configuration file
#   3) setting from program internal default settings

# Define a keyfile path for the SPM system.  This is the default:
KEY_FILENAME = /var/spm/.spm-kf
# Define a logfile path for the SPM system.  This is the default:
LOG_FILENAME = /var/spm/spm.log
# Activate the log for the SPM system.  Default is inactive:
LOG_ACTIVE=TRUE
# LOG_WRITE_MODE=1  logfile is kept open while program is running
#                   (faster but logfile can't be renamed while spmd is running)
# LOG_WRITE_MODE=2  logfile will be closed after each write (default)
#                   (slower but logfile can be renamed while spmd is running)
LOG_WRITE_MODE=2

# Type of dongle for the SPM system (if required).  Default is no dongle.
DONGLE_TYPE = AW0
# Select the port the dongle is connected to.
# Default setting is /dev/ttyb for Sun or /dev/ttyd2 for SGI
DONGLE_PORT = /dev/ttyS0

# for IBUTTON-Dongles choose
# IBU=USB Port IBP=parallel Port IBS=serial Port
# DONGLE_PORT = IBU


KEY_FILENAME_BAK_EXT= .old

# permission to manipulate spmd via spmstat
#SPM_STAT_EVENT_RESPONSE_DELAY = 400
#SPM_STAT_PERMISSION: root@machine,Administrator@machine


LIC_TERM_POST_WARN  5
LIC_TERM_PRE_WARN  1
DONG_TERM_PRE_WARN  11


[LICENSE_RELAY]

# In this section License Relay settings of the SPM system are defined.
#
# INITIAL_LICENSE_NUM[Mfct_Name][License_Name][Version][NL_code] = 6262

# MAX_LICENSE_NUM=10
# INITIAL_LICENSE_NUM = 1

# INITIAL_LICENSE_NUM[][prog_optc] = 7#  some comment
# INITIAL_LICENSE_NUM[Test_Manufacturer][prog_optc] = 6#  some comment

# INITIAL_LICENSE_NUM[Mfct_Name] = 6	#  Some comment
# INITIAL_LICENSE_NUM[Mfct_Name][License_Name] = 1234567#  another comment
# INITIAL_LICENSE_NUM[Mfct_Name][License_Name][Version] = 9876#comment
# INITIAL_LICENSE_NUM[Mfct_Name][License_Name][Version][NL_code] = 6262
# INITIAL_LICENSE_NUM[][License_Name] = 1332

# FLEXLM_LICENSE_FILE = /usr/local/flexlm/licenses/license.dat


[Internet]

# By default all internet addresses are allowed to access SPM-server

#- 0.0.0.0 - 255.255.255.255     # exclude all internet addresses
#+ 0.0.1.0 - 0.0.128.0           # allow only some internet addresses
#+ sparc
#+ indy

[Reserved_Licenses]

# Reserves some floating licenses to specific users
#
# Manufacturer_name:program_name:group_name:user1,user2,user3:license_num
#
# 1. Manufacturer_name	The name of the manufaturerer of the program/feature
# 2. program_name		The program/feature name licenses are reserved for
# 4. user_names			Name(s) of user(s) participating in this group 
# 5. license_num		Number of floating licenses reserved for this group

#Test_Manufacturer:program2a:mi, and, user1,user2,user3:3
#Test_Manufacturer  :  program2c  : mi, user1  , user2 , user3 : 2
#Test_Manufacturer:program2a:mi:2

