Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

LogonUser, LOGON32_LOGON_INTERACTIVE and LOGON32_LOGON_NETWORK

Can anyone provide a clear explanation of the difference between LOGON32__LOGON_INTERACTIVE and LOGON32_LOGON_NETWORK when used with LogonUser?

The MS documentation is here.

But I'm not clear what should be used. The scenario is similar to a telnet server that Windows users (local to the server, and domain users) are logging into - I want to impersonate the user in the thread. They may want to delete files or whatever.

like image 831
Bruce Blackshaw Avatar asked Oct 01 '09 03:10

Bruce Blackshaw


1 Answers

Look at http://www.bitvise.com/wug-logontype for a thorough discussion of the issue and a recommendation:

We recommend that users who require terminal shell access use the 'interactive' logon type.

like image 198
Justin Grant Avatar answered Oct 02 '22 11:10

Justin Grant