If it works and you can only authenticate admin users:
1 - go to iis and enable impersonation for your login page using an admin account
2 - go to iis and make the process run this file using an admin account
3 - the most important: use #define LOGON32_LOGON_NETWORK 3 instead of 2
Good Luck Fellows
© 2016, O’Reilly Media, Inc.
All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners.