Environment
Novell ZENworks
7.2 Linux Management - ZLM7.2
Situation
ZLM backup and
restore process:
- Backed up ZLM server according to instructions (object store, data store and the wholepkg-repo directory).
- Using the same machine, force zlm-config -f to create "a new" zone with same name and same admin password.
- Then restore
first the Data Store, then the Object Store, and finally the whole
pkg-repo directory. No errors. But still have authentication
problems.
Resolution
The fix for the bug
described in TID 3393429 'zlm-config fails to reset services
password.' needs to be obtained first to implement the following
resolution:
Running zlm-config or zlm-config -f is like creating a fresh device. Due to this, all the secret certificates (server password and ZMD password) gets regenerated and eDirectory is configured for the new server password and LDAP-certificate.
Restoring back eDir would have the traces of the old server password, which would result in authentication failure.
After running restore of eDirectory and database, the following commands needs to be executed:
On prompt for password the ZCC administrator password needs to be provided. This command recreates a new server password and configures eDirectory parameters with the new server password.
Running zlm-config or zlm-config -f is like creating a fresh device. Due to this, all the secret certificates (server password and ZMD password) gets regenerated and eDirectory is configured for the new server password and LDAP-certificate.
Restoring back eDir would have the traces of the old server password, which would result in authentication failure.
After running restore of eDirectory and database, the following commands needs to be executed:
/etc/init.d/ndsd restart
zlm-config --reset-services-password
zlm-config --reset-services-password
On prompt for password the ZCC administrator password needs to be provided. This command recreates a new server password and configures eDirectory parameters with the new server password.