Technical article 101717

How to add user license packs to LAN Manager 2.2.2 without using custom(ADM) ?

OpenServer 5.0.0

Written · Last revised

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/acthist
It is applied using the command:
/usr/net/servers/lanman/bin/fixkey
The 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 su
2. Edit the file:
/usr/net/servers/lanman/datafiles/acthist
and 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:
sco123456qwertyui
and would be edited to read:
sco123456qwertyui
sco654321iuytrewq

3. 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/lmxs

Note 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.

From the Xinuos technical article database, record 101717. Reproduced with permission. The original is at www.sco.com/ta/101717, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.