I am not sure if I am in the right approach or not. Since I can not find an
API that can be called from Win95 to do this, I plan to write an RPC server
to call the LogonUser() API on the NT server and pass the result back to
client.
So I wrote a test program to call it on NT, but the process that calls it
should have SE_TCB_NAME privilege. I used the AdjustTokenPrivilege() to
enable the privilege, but it failed(I logged on as an administrator).
Does anyone know what should be set before calling these APIs, and how to
set it? Or, am I using the right APIs at all? How should I do the checking
of user name and password? Am I on the totally wrong way to do this?
Thank very much for any help!