Problem
Is it possible to add user license packs to LAN Manager without using the custom(ADM) command, such as when the system is physically remote ?
Solution
The license data is held in the file:
/usr/net/servers/lanman/datafiles/acthistIt is applied using the command:/usr/net/servers/lanman/bin/fixkeyThe license datafile's format is a number of lines, each consisting
of a serial number with the activation key appended. For example:<serial number><activation key>
<serial number><activation key>The first entry in the file should be the initial installation
serial number and activation key, followed by any (optional)
upgrade keys. For example:<Install serial number><Install activation key> <User upgrade serial number><User upgrade activation key> <User upgrade serial number><User upgrade activation key>
License packs may be manually added to LAN Manager using the following procedure.
1. Take the system to single user state, ensuring that any
applications or services which make use of LAN Manager facilities
or APIs are also halted.$ shutdown -y -g0 su2. Edit the file:/usr/net/servers/lanman/datafiles/acthistand append the desired license upgrade data to the file. If the
install serial number/activation key (SNAK) was sco123456/qwertyui,
and the upgrade SNAK was sco654321/iuytrewq the file would initially
(after install) consist of:sco123456qwertyuiand would be edited to read:sco123456qwertyui
sco654321iuytrewq3. Apply the complete set of serial numbers/activation keys using the fixkey command, and serialize the server files:
$ cd /usr/net/servers/lanman/bin
$ ./fixkey ../datafiles/acthist > /tmp/lmxs.ser
$ cd /
$ /etc/serialize /etc/perms/lmxsNote that the LAN Manager product must be both branded and licensed to operate correctly.
The fixkey command was added to LAN Manager in Release 2.2.1, and was not present in earlier releases.