Cygwin: s4uauth: allow to be called for identification only
s4uath was only callable to create an impersonation token so far. Rework the function to allow creating an identification token for informational purposes even from untrusted processes. Take domainname and username instead of a passwd pointer to be more multi-purpose. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
@ -642,6 +642,7 @@ LoadDLLfunc (NetUserGetLocalGroups, 32, netapi32)
|
||||
|
||||
LoadDLLfunc (CoTaskMemFree, 4, ole32)
|
||||
|
||||
LoadDLLfunc (LsaConnectUntrusted, 4, secur32)
|
||||
LoadDLLfunc (LsaDeregisterLogonProcess, 4, secur32)
|
||||
LoadDLLfunc (LsaFreeReturnBuffer, 4, secur32)
|
||||
LoadDLLfunc (LsaLogonUser, 56, secur32)
|
||||
|
Reference in New Issue
Block a user