Joe Mamma
Well-known member
I cant use the simple p/invoke of LogonUser to authenticate an impersonation user in windows 2000.
One alternative is to p/invoke CreateProcessWithLogonW to shell off a hidden cmd.exe check and terminate, checking the error code if it fails. this though is not the most efficient manner of authentication. more of a kludge.
I have seen some SSPI authentication code in VC6 and some in VC7 for client/server remoting impersonation. extrememly unwieldly.
Anyone have any code for doing this???
One alternative is to p/invoke CreateProcessWithLogonW to shell off a hidden cmd.exe check and terminate, checking the error code if it fails. this though is not the most efficient manner of authentication. more of a kludge.
I have seen some SSPI authentication code in VC6 and some in VC7 for client/server remoting impersonation. extrememly unwieldly.
Anyone have any code for doing this???