Problem
Upgrading from 3.5.2n to 4.0.2 appears to work fine and although the shares are accessible after the upgrade, if I try to change the name of the server by using the "netconfig" command, it results in the following error appearing in:
/usr/net/servers/lanman/logs/lmxconfig.logRestoring SAM database...or:^[[=0Restoring SAM database...Reading the accounts database Failed to open or create /usr/net/servers/lanman/samsave/harveywst. The SAM database is too corrupt to check or repair.
If the role of the server is a backup domain controller, you must synchronize your account database with primary domain controller. Otherwise, you must run joindomain to create a new database.
ERROR: Unable to initialize local SAM database. Aborting configuration temporarily. Creating post-processor script. This script will be run automatically when the kernel has been relinked and the system rebooted.
Solution
The workaround to this situation would be to perform a fresh install of AFPS 4.0.2.
This problem has been reported to SCO Engineering.
NOTE: If you are installing on OpenServer 5.0.4/5.0.5 then you will need to
install OSS605a the NetBIOS patch available from:https://ftp.scoexpert.com/openserver5Otherwise you may experience a "tcl" error from the installation script during the install process.
See also
ta#116782, "Upgrading an AFPS 3.5.2n server, which is a PDC or BDC providing a resource domain with accounts from a trusted account domain, the upgrade to AFPS 4.0.2 fails."
lmshare(AS)