Having trouble getting LogonUser to work on my campus network

In my application, I'm simply trying to get a user to re-authenticate before using it. I have this working fine on my personal computer, but when I use a system on campus, I'm getting authentication failures.

Here is the function I'm using: http://ift.tt/1LE1epx

The function inputs I'm using are:

UserName: MAINLOCAL\\username

PWD: myPassword Domain: main.local.universityName.edu


dwLogonProvider = LOGON32_LOGON_NETWORK

Any ideas on how to start troubleshooting this?

by PrometheanVR via /r/csharp

Leave a Reply