Why do I get an error code 1314: A required privilege is not held by the client. Whenever I call the LogonUser function? Here's how I call it:
success = LogonUser(UserName, RemoteName, password, LOGON32_LOGON_NETWORK, LOGON32_PROVIDER_DEFAULT, &hToken);
I'm using Windows 2000, any ideas?
success = LogonUser(UserName, RemoteName, password, LOGON32_LOGON_NETWORK, LOGON32_PROVIDER_DEFAULT, &hToken);
I'm using Windows 2000, any ideas?