Environment
Novell ZENworks Configuration Management 11.3 Authentication
Microsoft Windows 7, 8, 8.1
Microsoft Windows 7, 8, 8.1
Situation
Pass-through authentication fails
ZENworks login screen comes up after logging into the Novell Client or Windows
The following can be seen in the zmd-messages.log on the agent:
ERROR:
Exception while reading registry at Novell.Zenworks.Native.RemotingService.RemotingServiceImp.ReadPasswordAndDecrypt(String Password)
GetMicasaCredential took exception: Registry key has subkeys and recursive removes are not supported by this method. System.InvalidOperationException: Registry key has subkeys and recursive removes are not supported by this method.
ZENworks login screen comes up after logging into the Novell Client or Windows
The following can be seen in the zmd-messages.log on the agent:
ERROR:
Exception while reading registry at Novell.Zenworks.Native.RemotingService.RemotingServiceImp.ReadPasswordAndDecrypt(String Password)
GetMicasaCredential took exception: Registry key has subkeys and recursive removes are not supported by this method. System.InvalidOperationException: Registry key has subkeys and recursive removes are not supported by this method.
Resolution
A fix for this issue is provided in the ZENworks 11.3.0a Windows
8.1 Update which is available at https://download.novell.com/Download?buildid=V9kALnvzzjg~
.
For more information, please see TID 7014805 - ZENworks 11.3.0a Windows 8.1 Update .
Alternatively, this update is also provided as part of FTF Roll Up 1 for ZENworks (11 SP3) which is available at https://download.novell.com/Download?buildid=6c6917CRv6U~ .
For more information, please see TID 7014960 - FTF Roll Up 1 for ZENworks (11 SP3) .
For more information, please see TID 7014805 - ZENworks 11.3.0a Windows 8.1 Update .
Alternatively, this update is also provided as part of FTF Roll Up 1 for ZENworks (11 SP3) which is available at https://download.novell.com/Download?buildid=6c6917CRv6U~ .
For more information, please see TID 7014960 - FTF Roll Up 1 for ZENworks (11 SP3) .
Additional Information
Full errors from zmd-messages.log:
Exception while reading registry at Novell.Zenworks.Native.RemotingService.RemotingServiceImp.ReadPasswordAndDecrypt(String Password)
GetMicasaCredential took exception: Registry key has subkeys and recursive removes are not supported by this method. System.InvalidOperationException: Registry key has subkeys and recursive removes are not supported by this method.
at Microsoft.Win32.RegistryKey.DeleteSubKey(String subkey, Boolean throwOnMissingSubKey)
at Novell.Zenworks.Native.RemotingService.RemotingServiceImp.ReadPasswordAndDecrypt(String Password)
at Novell.Zenworks.Native.RemotingService.RemotingServiceImp.ZENLogin(String SessionID, String Realm, String Username, String Password, UInt32 LoginFlag, Boolean bZIconLogin, String()& ExtraAttribs)
...
at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at Novell.Zenworks.Zmd.Refresh.RefreshManager.ProcessRefresh(Session session, String refreshType, CustomRefreshData refreshData, RefreshFlags flags)
at Novell.Zenworks.Native.RemotingService.RemotingServiceImp.ZENLoginUser(String SessionID, String Realm, String Username, String Password, String Host, String AuthToken, Boolean bZIconLogin, String AuthMech)
at Novell.Zenworks.Native.RemotingService.RemotingServiceImp.ZENLogin(String SessionID, String Realm, String Username, String Password, String FullDName, String SharedSecret, UInt32 LoginFlag, Boolean bZIconLogin, String LocalUserName, String()& ExtraAttribs)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object() args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object()& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)
at System.Runtime.Remoting.Messaging.ServerObjectTerminatorSink.SyncProcessMessage(IMessage reqMsg)
at System.Runtime.Remoting.Messaging.ServerContextTerminatorSink.SyncProcessMessage(IMessage reqMsg)
at System.Runtime.Remoting.Channels.CrossContextChannel.SyncProcessMessageCallback(Object() args)
at System.Runtime.Remoting.Channels.ChannelServices.DispatchMessage(IServerChannelSinkStack sinkStack, IMessage msg, IMessage& replyMsg)
at Novell.Zenworks.Zmd.ZenServerSink.ProcessMessage(IServerChannelSinkStack sinkStack, IMessage requestMsg, ITransportHeaders requestHeaders, Stream requestStream, IMessage& responseMsg, ITransportHeaders& responseHeaders, Stream& responseStream)
at System.Runtime.Remoting.Channels.BinaryServerFormatterSink.ProcessMessage(IServerChannelSinkStack sinkStack, IMessage requestMsg, ITransportHeaders requestHeaders, Stream requestStream, IMessage& responseMsg, ITransportHeaders& responseHeaders, Stream& responseStream)
at System.Runtime.Remoting.Channels.Ipc.IpcServerTransportSink.ServiceRequest(Object state)
at System.Runtime.Remoting.Channels.SocketHandler.ProcessRequestNow()
at System.Runtime.Remoting.Channels.SocketHandler.BeginReadMessageCallback(IAsyncResult ar)
at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)
Exception while reading registry at Novell.Zenworks.Native.RemotingService.RemotingServiceImp.ReadPasswordAndDecrypt(String Password)
GetMicasaCredential took exception: Registry key has subkeys and recursive removes are not supported by this method. System.InvalidOperationException: Registry key has subkeys and recursive removes are not supported by this method.
at Microsoft.Win32.RegistryKey.DeleteSubKey(String subkey, Boolean throwOnMissingSubKey)
at Novell.Zenworks.Native.RemotingService.RemotingServiceImp.ReadPasswordAndDecrypt(String Password)
at Novell.Zenworks.Native.RemotingService.RemotingServiceImp.ZENLogin(String SessionID, String Realm, String Username, String Password, UInt32 LoginFlag, Boolean bZIconLogin, String()& ExtraAttribs)
...
at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at Novell.Zenworks.Zmd.Refresh.RefreshManager.ProcessRefresh(Session session, String refreshType, CustomRefreshData refreshData, RefreshFlags flags)
at Novell.Zenworks.Native.RemotingService.RemotingServiceImp.ZENLoginUser(String SessionID, String Realm, String Username, String Password, String Host, String AuthToken, Boolean bZIconLogin, String AuthMech)
at Novell.Zenworks.Native.RemotingService.RemotingServiceImp.ZENLogin(String SessionID, String Realm, String Username, String Password, String FullDName, String SharedSecret, UInt32 LoginFlag, Boolean bZIconLogin, String LocalUserName, String()& ExtraAttribs)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object() args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object()& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)
at System.Runtime.Remoting.Messaging.ServerObjectTerminatorSink.SyncProcessMessage(IMessage reqMsg)
at System.Runtime.Remoting.Messaging.ServerContextTerminatorSink.SyncProcessMessage(IMessage reqMsg)
at System.Runtime.Remoting.Channels.CrossContextChannel.SyncProcessMessageCallback(Object() args)
at System.Runtime.Remoting.Channels.ChannelServices.DispatchMessage(IServerChannelSinkStack sinkStack, IMessage msg, IMessage& replyMsg)
at Novell.Zenworks.Zmd.ZenServerSink.ProcessMessage(IServerChannelSinkStack sinkStack, IMessage requestMsg, ITransportHeaders requestHeaders, Stream requestStream, IMessage& responseMsg, ITransportHeaders& responseHeaders, Stream& responseStream)
at System.Runtime.Remoting.Channels.BinaryServerFormatterSink.ProcessMessage(IServerChannelSinkStack sinkStack, IMessage requestMsg, ITransportHeaders requestHeaders, Stream requestStream, IMessage& responseMsg, ITransportHeaders& responseHeaders, Stream& responseStream)
at System.Runtime.Remoting.Channels.Ipc.IpcServerTransportSink.ServiceRequest(Object state)
at System.Runtime.Remoting.Channels.SocketHandler.ProcessRequestNow()
at System.Runtime.Remoting.Channels.SocketHandler.BeginReadMessageCallback(IAsyncResult ar)
at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)