From 408a2b1da34c93dcd3caadeade66b2f129701408 Mon Sep 17 00:00:00 2001 From: wj32 Date: Sat, 28 Nov 2009 10:07:41 +0000 Subject: [PATCH] fixed some stuff git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2381 21ef857c-d57f-4fe0-8362-d861dc6d29cd --- 1.x/trunk/ProcessHacker.Native/Objects/LsaAuthHandle.cs | 5 +++++ .../Security/Authentication/Msv1_0_InteractivePackage.cs | 3 +++ 2 files changed, 8 insertions(+) diff --git a/1.x/trunk/ProcessHacker.Native/Objects/LsaAuthHandle.cs b/1.x/trunk/ProcessHacker.Native/Objects/LsaAuthHandle.cs index 5a7384350..ae416d61f 100644 --- a/1.x/trunk/ProcessHacker.Native/Objects/LsaAuthHandle.cs +++ b/1.x/trunk/ProcessHacker.Native/Objects/LsaAuthHandle.cs @@ -77,6 +77,11 @@ namespace ProcessHacker.Native.Objects Win32.LsaDeregisterLogonProcess(this); } + public TokenHandle LogonUser(SecurityLogonType logonType, IAuthenticationPackage package) + { + return this.LogonUser("PH.N", logonType, package); + } + public TokenHandle LogonUser(string originName, SecurityLogonType logonType, IAuthenticationPackage package) { object profileData; diff --git a/1.x/trunk/ProcessHacker.Native/Security/Authentication/Msv1_0_InteractivePackage.cs b/1.x/trunk/ProcessHacker.Native/Security/Authentication/Msv1_0_InteractivePackage.cs index da766b836..57879c2f4 100644 --- a/1.x/trunk/ProcessHacker.Native/Security/Authentication/Msv1_0_InteractivePackage.cs +++ b/1.x/trunk/ProcessHacker.Native/Security/Authentication/Msv1_0_InteractivePackage.cs @@ -11,6 +11,9 @@ namespace ProcessHacker.Native.Security.Authentication private string _userName; private string _password; + public Msv1_0_InteractivePackage() + { } + public Msv1_0_InteractivePackage(Sid sid) : this(sid, null) { }