....because the system has disconnected from the network and the
specified credentials did not match with the credentials cached on the
system.

New installation of ZCM 11.2.4 on Windows Server 2008 R2, external MS
SQL 2008 R2 database. The client system is also Windows Server 2008 R2
SP1. Test installation for Zen on terminal servers. User source is
Active Directory.

A Windows 7 SP1 client can log in without problems.

The users are administrators on the client system. Have tried
combinations of AllowPassiveModeLoginOnServers, EnableSeamlessMode,
DefaultRealm, without luck.


But if I manually create the following registry entry, the user can
login just fine! and the rest of the cache history registry keys get
written.

[HKEY_LOCAL_MACHINE\SOFTWARE\Novell\ZCM\ZenLgn\Hist ory\Cache\domainname.local]
"username"="CN=username,CN=Users,DC=Domainname,DC= local"


client zmd-messages.log:

[DEBUG] [12/02/2013 10:58:02.158] [280] [ZenworksWindowsService] [34]
[] [CommonCasa] [] [ObtainAuthToken entered] [] []
[DEBUG] [12/02/2013 10:58:02.158] [280] [ZenworksWindowsService] [34]
[] [CommonCasa] [] [Calling AuthToken.ObtainAuthToken] [] []
[DEBUG] [12/02/2013 10:58:02.158] [280] [ZenworksWindowsService] [34]
[] [CommonCasa] [] [AuthToken.ObtainAuthToken using Luid value:
0:2106405] [] []
[DEBUG] [12/02/2013 10:58:02.158] [280] [ZenworksWindowsService] [34]
[] [CommonCasa] [] [AuthToken.ObtainAuthToken will be called with:] [] []
[DEBUG] [12/02/2013 10:58:02.158] [280] [ZenworksWindowsService] [34]
[] [CommonCasa] [] [ Host: 172.30.102.182:2645] [] []
[DEBUG] [12/02/2013 10:58:02.158] [280] [ZenworksWindowsService] [34]
[] [CommonCasa] [] [ ServiceName: com.novell.zenworks.domainname.local]
[] []
[DEBUG] [12/02/2013 10:58:02.455] [280] [ZenworksWindowsService] [34]
[] [CommonCasa] [] [ObtainAuthToken took exception: -939589600
System.Exception: -939589600
at Novell.Casa.Client.Auth.Authtoken.ObtainAuthToken( String
sService, String sHost, WinLuid luid, String()& extraData, IntPtr
micasaContext, String& AuthMech)
at Novell.Zenworks.Zmd.Common.CasaHelper.ObtainAuthTo ken(String
SessionID, String RealmName, String Host, String& AuthToken, String()&
ExtraAttribs, IntPtr MicasaContext, String& AuthMech)] [] []
[DEBUG] [12/02/2013 10:58:02.455] [280] [ZenworksWindowsService] [34]
[] [CommonCasa] [] [Stack Trace: at
Novell.Casa.Client.Auth.Authtoken.ObtainAuthToken( String sService,
String sHost, WinLuid luid, String()& extraData, IntPtr micasaContext,
String& AuthMech)
at Novell.Zenworks.Zmd.Common.CasaHelper.ObtainAuthTo ken(String
SessionID, String RealmName, String Host, String& AuthToken, String()&
ExtraAttribs, IntPtr MicasaContext, String& AuthMech)] [] []
[DEBUG] [12/02/2013 10:58:02.455] [280] [ZenworksWindowsService] [34]
[] [CommonCasa] [] [ObtainAuthToken returning -939589600] [] []
[DEBUG] [12/02/2013 10:58:02.455] [280] [ZenworksWindowsService] [34]
[] [RemotingService] [] [Return Server Error] [] []
[DEBUG] [12/02/2013 10:58:02.455] [280] [ZenworksWindowsService] [34]
[] [RemotingService] [] [Break from inner loop] [] []
[DEBUG] [12/02/2013 10:58:02.455] [280] [ZenworksWindowsService] [34]
[] [RemotingService] [] [Calling DeleteMiCasaCredential for realm:
domainname.local] [] []


ZENLGN.LOG

NOTE: "Where it says: Workstation is disconnected, primary server is
unavailable, or cancel was hit when prompted for user credentials."
I did NOT hit cancel, but OK with the correct password entered.

ZENLGN [AB8-A20] [11:00:30:471] ZenLgnLoginUI entered
ZENLGN [AB8-A20] [11:00:30:471] g_bCalledFromCommonZ is TRUE
ZENLGN [AB8-A20] [11:00:30:471] g_bDomainMember is TRUE
ZENLGN [AB8-A20] [11:00:30:471] It would appear that we have been called
from the ZenNotifyIcon process (ZenNotifyIcon.exe)
ZENLGN [AB8-A20] [11:00:30:471] CALWIN32LoadDLL called!
ZENLGN [AB8-A20] [11:00:30:471] LoadLibrary for CALWIN32.DLL failed: 126
ZENLGN [AB8-A20] [11:00:30:471] g_bClient32IsInstalled is FALSE
ZENLGN [AB8-A20] [11:00:30:471] Entered Load resource DLL
ZENLGN [AB8-A20] [11:00:30:471] Language I got from API is: NOR
ZENLGN [AB8-A20] [11:00:30:471] Local domain name = Domainname
ZENLGN [AB8-A20] [11:00:30:471]
pDomain_Controller_Info->DomainControllerName = domainname.local
ZENLGN [AB8-A20] [11:00:30:471] g_DNSDomainName: domainname.local
ZENLGN [AB8-A20] [11:00:30:471] WTSLoadDLL called!
ZENLGN [AB8-A20] [11:00:30:471] WTSLoadDLL returning
ZENLGN [AB8-A20] [11:00:30:471] WTSGetSessionID called!
ZENLGN [AB8-A20] [11:00:30:471] WTSGetSessionID returning 0
ZENLGN [AB8-A20] [11:00:30:471] IsWorkstationConnected entered
ZENLGN [AB8-A20] [11:00:30:486] IsWorkstationConnected returning 0
ZENLGN [AB8-A20] [11:00:30:486] Calling ZENGetAuthoritativeSources
ZENLGN [AB8-A20] [11:00:30:486] ZENGetAuthoritativeSources returned
ZENLGN [AB8-A20] [11:00:30:486] ZenLgnAttemptWithoutPrompt Entered...
ZENLGN [AB8-A20] [11:00:30:486] ShiftKeyOverride - shiftStatus = 0x0
ZENLGN [AB8-A20] [11:00:30:486] ZenLgnAttemptWithoutPrompt Returning 31...
ZENLGN [AB8-A20] [11:00:30:486] Passive Login Failed: 0x0000001F
ZENLGN [AB8-A20] [11:00:30:486] Launching the ZEN login dialog prompt
ZENLGN [AB8-A20] [11:00:30:486] ZenLgnLoginInitDialog entered
ZENLGN [AB8-A20] [11:00:30:486] Number of realms = 1
ZENLGN [AB8-A20] [11:00:30:486] Realm Name = domainname.local
ZENLGN [AB8-A20] [11:00:30:502] ZenLgnLoginInitDialog returning
ZENLGN [AB8-A20] [11:00:34:184] Received window message - WM_COMMAND -
OK button hit.
ZENLGN [AB8-A20] [11:00:34:184] ZenLgnLogin entered
ZENLGN [AB8-A20] [11:00:34:184] Calling ZENIsServerAvailable
ZENLGN [AB8-A20] [11:00:34:215] Returned from ZENIsServerAvailable
ZENLGN [AB8-A20] [11:00:34:215] Workstation is connected
ZENLGN [AB8-A20] [11:00:34:215] Server is Available
ZENLGN [AB8-A20] [11:00:34:215] About to call ZENLogin in agent service
ZENLGN [AB8-A20] [11:00:35:369] Returned from calling ZENLogin in agent
service
ZENLGN [AB8-A20] [11:00:35:369] ZenLgnCachedLogin entered
ZENLGN [AB8-A20] [11:00:35:369] Workstation is disconnected, primary
server is unavailable, or cancel
ZENLGN [AB8-A20] [11:00:35:369] was hit when prompted for user credentials.
ZENLGN [AB8-A20] [11:00:35:369] About to call ZENVerifyCache in agent
service
ZENLGN [AB8-A20] [11:00:35:369] Returned from ZENVerifyCache in agent
service
ZENLGN [AB8-A20] [11:00:35:369] ZenLgnLogin returning 197984258
ZENLGN [AB8-A20] [11:00:36:570] Window message - WM_COMMAND - OK button
hit ending
ZENLGN [AB8-A20] [11:00:37:241] Received window message - WM_COMMAND -
Cancel button hit.
ZENLGN [AB8-A20] [11:00:37:241] Calling EndDialog with ERROR_CANCELLED
ZENLGN [AB8-A20] [11:00:37:241] Window message - WM_COMMAND - Cancel
button hit ending.
ZENLGN [AB8-A20] [11:00:37:241] Received window message - WM_DESTROY
ZENLGN [AB8-A20] [11:00:37:241] Window message - WM_DESTROY - ending
ZENLGN [AB8-A20] [11:00:37:241] ZEN login dialog prompt returned failure
- Login failed
ZENLGN [AB8-A20] [11:00:37:241] ZenLgnLoginUI exiting: 1244


Regards,
Phillip E. Thomas