Logging in user in Windows 2008 server using LogonUser fails on LogonType LOGON32_LOGON_SERVICE
- by Ofiris
I am using LogonUser function to logon an account to Windows 2008 R2 server on a domain with clusterring.
When using LOGON32_LOGON_INTERACTIVE as LogonType, I successfully login.
When using LOGON32_LOGON_SERVICE as LogonType, Login fails, EventViewer says:
An account failed to log on.
Logon Type: 5
Account For Which Logon Failed:
…