Unsatisfied Link error in ZDM Workstation Import Windows Server

  • 7001281
  • 04-Sep-2008
  • 30-Apr-2012

Environment

Novell ZENworks 7 Desktop Management Support Pack 1 - ZDM7 SP1 Automatic Workstation Import
Novell ZENworks 7 Desktop Management Support Pack 1 - ZDM7 SP1 Automatic Workstation Removal

Situation

After either upgrading eDirectory or installing another java or some other unknown change, workstations fail to import to Window server running zwsimp service.
 
ERROR (from zenwsreg.log):
 
ZENWSREGRegister -- <error>Could not authenticate as policy: Server Package:General:Workstation Import.organization</error>

 
ERROR (from zenwsimp.log with debug level 3):
 
Aug 26, 2008 2:00:17 PM [Root exception is java.lang.UnsatisfiedLinkError: NWDSLogin]com.novell.java.security.LoginException: Login failed.
Aug 26, 2008 2:00:17 PM Could not authenticate as policy: Server Package:General:Workstation Import.organization

Resolution

Try adding the following registry string setting from zenwsimp.reg on the server.
 
[HKEY_LOCAL_MACHINE\SOFTWARE\NOVELL\Zenworks\AutoWSImport]
zenwsimportCmdLine
 
If you already have this setting, just add the following to the value string:
 
-Djava.library.path=C:\Novell\ZENWORKS\JRE\njclv2\bin
 
Otherwise, create a value string for example:
"zenwsimportCmdLine"="-Dlogfile=c:\\zenwsimp.log -Dlogfilelevel=2 -Djava.library.path=C:\Novell\ZENWORKS\JRE\njclv2\bin"