Hello all,
I have created a plugin that seems to function as expected with one exception. If the user locks the session and attempts to unlock it. Pgina (or rather my plugin) seems to freeze, if however instead the user hits crtl-alt-del and “changes user” but then authenticates through the plugin like an initial login attempt it “unlocks” the session and bring them in just fine. I have tried using the orig user to unlock setting to no avail.
During an “unlock” it definitely seems my plugin is being called but none of my logging steps are being hit so I can’t tell where. I am catching exceptions (as well as unhandled) so I would expect to see something here. Why/how is “unlock” operating differently than logging into a previously locked session? [Hope that makes sense]
Any/all help would be appreciated, I’ve been banging my head on this far too long I’m sure I’m missing something obvious.
-Rob
2015-01-22 11:29:20:994 AM [45|DEBUG] DuoPgina: [Session Change] pGina.Plugin.DuoPgina.Base.PluginBase.SessionChange(c:\Projects\Pgina Plugins\DuoPgina\DuoPgina\Base\PluginBase.cs:216) DuoPgina was notified of a session change.
2015-01-22 11:29:20:998 AM [45|INFO ] DuoPgina: [Session Change] pGina.Plugin.DuoPgina.Actions.HandleLogon(c:\Projects\Pgina Plugins\DuoPgina\DuoPgina\Actions.cs:590) {user} has logged in.
2015-01-22 11:29:21:009 AM [45|DEBUG] DuoPgina: [Session Change] pGina.Plugin.DuoPgina.Actions.HandleLogon(c:\Projects\Pgina Plugins\DuoPgina\DuoPgina\Actions.cs:622) Vendor {user} has logged in, their AutoLogOffTime is set to 1/22/2015 11:34 AM
2015-01-22 11:29:21:053 AM [45|DEBUG] DuoPgina: [Session Change] pGina.Plugin.DuoPgina.Settings.SetState(c:\Projects\Pgina Plugins\DuoPgina\DuoPgina\Settings.cs:400) Saving state file.
2015-01-22 11:29:21:983 AM [39|DEBUG] DuoPgina.Tray: [(null)] pGina.Plugin.DuoPgina.PipeMessaging.MessageServer.HandleLogMessage(c:\Projects\Pgina Plugins\DuoPgina\DuoPgina\PipeMessaging\MessageServer.cs:226) Tray notifier launched for user {user}
2015-01-22 11:29:22:764 AM [23|DEBUG] RemoteLog[NativeLib]: [(null)] pGina.Service.Impl.Service.HandleMessage(:0) [Provider.cpp:96] Stopping service state helper thread (if necessary)
2015-01-22 11:29:28:312 AM [27|DEBUG] RemoteLog[NativeLib]: [(null)] pGina.Service.Impl.Service.HandleMessage(:0) [Provider.cpp:88] Starting service state helper thread
2015-01-22 11:29:28:482 AM [45|INFO ] pGina.Service.Impl: [(null)] pGina.Service.Impl.Service.SessionChange(:0) SessionChange: 2 -> SessionLock
2015-01-22 11:29:28:485 AM [45|DEBUG] DuoPgina: [Session Change] pGina.Plugin.DuoPgina.Base.PluginBase.SessionChange(c:\Projects\Pgina Plugins\DuoPgina\DuoPgina\Base\PluginBase.cs:216) DuoPgina was notified of a session change.
2015-01-22 11:29:31:792 AM [13|DEBUG] RemoteLog[NativeLib]: [(null)] pGina.Service.Impl.Service.HandleMessage(:0) [CredentialProviderFilter.cpp:73] CredentialProviderFilter::Filter
2015-01-22 11:29:31:795 AM [19|DEBUG] RemoteLog[NativeLib]: [(null)] pGina.Service.Impl.Service.HandleMessage(:0) [Provider.cpp:121] Provider::SetUsageScenario(2, 0x00000000)
2015-01-22 11:29:31:801 AM [18|DEBUG] RemoteLog[NativeLib]: [(null)] pGina.Service.Impl.Service.HandleMessage(:0) [Provider.cpp:237] Provider::Advise(00000000019701A0, 0000000001970130) - provider events callback reference added
2015-01-22 11:29:31:808 AM [17|DEBUG] RemoteLog[NativeLib]: [(null)] pGina.Service.Impl.Service.HandleMessage(:0) [Provider.cpp:407] SerializedCredsAppearComplete: No serialized creds set
2015-01-22 11:29:31:810 AM [10|DEBUG] RemoteLog[NativeLib]: [(null)] pGina.Service.Impl.Service.HandleMessage(:0) [Provider.cpp:407] SerializedCredsAppearComplete: No serialized creds set
2015-01-22 11:29:31:812 AM [11|DEBUG] RemoteLog[NativeLib]: [(null)] pGina.Service.Impl.Service.HandleMessage(:0) [Credential.cpp:454] Retrieving user information from service.
2015-01-22 11:29:31:850 AM [20|DEBUG] RemoteLog[NativeLib]: [(null)] pGina.Service.Impl.Service.HandleMessage(:0) [Credential.cpp:458] Received: original uname: '{user}' uname: '{user}' domain: '{domain}'
2015-01-22 11:29:31:851 AM [30|DEBUG] RemoteLog[NativeLib]: [(null)] pGina.Service.Impl.Service.HandleMessage(:0) [Provider.cpp:365] GetCredentialAt: Non CredUI - returning an IID_IConnectableCredentialProviderCredential
2015-01-22 11:29:43:852 AM [31|DEBUG] RemoteLog[NativeLib]: [(null)] pGina.Service.Impl.Service.HandleMessage(:0) [Credential.cpp:601] Credential::Connect()
2015-01-22 11:29:43:855 AM [16|DEBUG] RemoteLog[NativeLib]: [(null)] pGina.Service.Impl.Service.HandleMessage(:0) [Credential.cpp:640] ProcessLoginAttempt: Processing login for {DOMAIN\USER}
2015-01-22 11:29:43:883 AM [29|DEBUG] PluginDriver:14ca6c7a-6e00-4a35-8350-130f7f89a8b2: [(null)] pGina.Core.PluginDriver..ctor(:0) New PluginDriver created
2015-01-22 11:29:43:884 AM [29|DEBUG] pGina.Service.Impl: [(null)] ? Processing LoginRequest for: {DOMAIN\USER} in session: 2 reason: Unlock
2015-01-22 11:29:43:886 AM [29|DEBUG] PluginDriver:14ca6c7a-6e00-4a35-8350-130f7f89a8b2: [(null)] pGina.Core.PluginDriver.BeginChain(:0) Begin login chain, 0 stateful plugin(s).
2015-01-22 11:29:43:887 AM [29|DEBUG] PluginDriver:14ca6c7a-6e00-4a35-8350-130f7f89a8b2: [(null)] pGina.Core.PluginDriver.ExecuteLoginChain(:0) Performing login process
2015-01-22 11:29:43:890 AM [29|DEBUG] PluginDriver:14ca6c7a-6e00-4a35-8350-130f7f89a8b2: [(null)] pGina.Core.PluginDriver.AuthenticateUser(:0) Authenticating user {DOMAIN\USER}, 1 plugins available
2015-01-22 11:29:43:891 AM [29|DEBUG] PluginDriver:14ca6c7a-6e00-4a35-8350-130f7f89a8b2: [(null)] pGina.Core.PluginDriver.AuthenticateUser(:0) Calling {my UUID}