Environment
Novell ZENworks Configuration Management 11.2
Situation
When doing an inventory scan of a device, it reports a login name that is incorrect and not the currently logged in user. On the device in %ZENWORKS_HOME%\work\inventory\temp there is a loginname.dat file. In that file it contains a username that may be from a previously logged in user, but not the currently logged in user. The inventory scan is collecting the login name of from the loginname.dat file.
Resolution
This is fixed in version 11.2.4 - see KB 7012027 "ZENworks Configuration Management 11.2.4 - update information and list of fixes" which can be found at https://support.microfocus.com/kb/doc.php?id=7012027