Author: ion Date: Wed Jul 5 10:43:46 2006 New Revision: 22858
URL: http://svn.reactos.org/svn/reactos?rev=22858&view=rev Log: [AUDIT] - Almost all the functions are stubs, except for some LSA functions which merely seem to be wrappers that build LPC messages for the actual LSA Server to implement (which isn't part of these files). - Add some stubs during my attempt to load Google Talk (forget about it!). However WINE implements all these functions entirely so maybe we should just sync with them?
Modified: trunk/reactos/dll/win32/secur32/dllmain.c (props changed) trunk/reactos/dll/win32/secur32/lsa.c (props changed) trunk/reactos/dll/win32/secur32/precomp.h (props changed) trunk/reactos/dll/win32/secur32/secext.c (props changed) trunk/reactos/dll/win32/secur32/secur32.def (contents, props changed) trunk/reactos/dll/win32/secur32/sspi.c (contents, props changed)
Propchange: trunk/reactos/dll/win32/secur32/dllmain.c ------------------------------------------------------------------------------ --- svn:needs-lock (original) +++ svn:needs-lock (removed) @@ -1,1 +1,0 @@ -*
Propchange: trunk/reactos/dll/win32/secur32/lsa.c ------------------------------------------------------------------------------ --- svn:needs-lock (original) +++ svn:needs-lock (removed) @@ -1,1 +1,0 @@ -*
Propchange: trunk/reactos/dll/win32/secur32/precomp.h ------------------------------------------------------------------------------ --- svn:needs-lock (original) +++ svn:needs-lock (removed) @@ -1,1 +1,0 @@ -*
Propchange: trunk/reactos/dll/win32/secur32/secext.c ------------------------------------------------------------------------------ --- svn:needs-lock (original) +++ svn:needs-lock (removed) @@ -1,1 +1,0 @@ -*
Modified: trunk/reactos/dll/win32/secur32/secur32.def URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/secur32/secur32.d... ============================================================================== --- trunk/reactos/dll/win32/secur32/secur32.def (original) +++ trunk/reactos/dll/win32/secur32/secur32.def Wed Jul 5 10:43:46 2006 @@ -9,26 +9,26 @@ LsaCallAuthenticationPackage@28 ;AcceptSecurityContext@36 AcquireCredentialsHandleA@36 -;AcquireCredentialsHandleW@36 +AcquireCredentialsHandleW@36 ;@AddCredentialsA ;@AddCredentialsW ;@AddSecurityPackageA ;@AddSecurityPackageW ;ApplyControlTokenA@8 -;ApplyControlTokenW@8 -;CompleteAuthToken@8 +ApplyControlToken@8=ApplyControlTokenW@8 +CompleteAuthToken@8 ;@CredMarshalTargetInfo ;@CredUnmarshalTargetInfo -;DecryptMessage@16 -;DeleteSecurityContext@4 +DecryptMessage@16 +DeleteSecurityContext@4 ;@DeleteSecurityPackageA ;@DeleteSecurityPackageW -;EncryptMessage@16 +EncryptMessage@16 EnumerateSecurityPackagesA@8 EnumerateSecurityPackagesW@8 ;@ExportSecurityContext FreeContextBuffer@4 -;FreeCredentialsHandle@4 +FreeCredentialsHandle@4 GetComputerObjectNameA@12 GetComputerObjectNameW@12 ;GetSecurityUserInfo @@ -38,7 +38,7 @@ ;@ImportSecurityContextA ;@ImportSecurityContextW ;@InitSecurityInterfaceA -;@InitSecurityInterfaceW +InitSecurityInterfaceW@0 InitializeSecurityContextA@48 ;InitializeSecurityContextW@48 LsaEnumerateLogonSessions@8 @@ -47,7 +47,7 @@ LsaUnregisterPolicyChangeNotification@8 ;MakeSignature@16 ;QueryContextAttributesA@12 -;QueryContextAttributesW@12 +QueryContextAttributesW@12 ;QueryCredentialsAttributesA@12 ;QueryCredentialsAttributesW@12 ;@QuerySecurityContextToken
Propchange: trunk/reactos/dll/win32/secur32/secur32.def ------------------------------------------------------------------------------ --- svn:needs-lock (original) +++ svn:needs-lock (removed) @@ -1,1 +1,0 @@ -*
Modified: trunk/reactos/dll/win32/secur32/sspi.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/secur32/sspi.c?re... ============================================================================== --- trunk/reactos/dll/win32/secur32/sspi.c (original) +++ trunk/reactos/dll/win32/secur32/sspi.c Wed Jul 5 10:43:46 2006 @@ -38,6 +38,80 @@
SECURITY_STATUS WINAPI +FreeCredentialsHandle(PCredHandle Handle) +{ + DPRINT1("%s() not implemented!\n", __FUNCTION__); + return ERROR_CALL_NOT_IMPLEMENTED; +} + +SECURITY_STATUS +WINAPI +DeleteSecurityContext(PCtxtHandle Handle) +{ + DPRINT1("%s() not implemented!\n", __FUNCTION__); + return ERROR_CALL_NOT_IMPLEMENTED; +} + +PSecurityFunctionTableW +WINAPI +InitSecurityInterfaceW(VOID) +{ + DPRINT1("%s() not implemented!\n", __FUNCTION__); + return NULL; +} + +SECURITY_STATUS +WINAPI +EncryptMessage(PCtxtHandle Handle, + ULONG Foo, + PSecBufferDesc Buffer, + ULONG Bar) +{ + DPRINT1("%s() not implemented!\n", __FUNCTION__); + return ERROR_CALL_NOT_IMPLEMENTED; +} + +SECURITY_STATUS +WINAPI +DecryptMessage(PCtxtHandle Handle, + PSecBufferDesc Buffer, + ULONG Foo, + PULONG Bar) +{ + DPRINT1("%s() not implemented!\n", __FUNCTION__); + return ERROR_CALL_NOT_IMPLEMENTED; +} + +SECURITY_STATUS +WINAPI +ApplyControlTokenW(PCtxtHandle Handle, + PSecBufferDesc Buffer) +{ + DPRINT1("%s() not implemented!\n", __FUNCTION__); + return ERROR_CALL_NOT_IMPLEMENTED; +} + +SECURITY_STATUS +WINAPI +CompleteAuthToken(PCtxtHandle Handle, + PSecBufferDesc Buffer) +{ + DPRINT1("%s() not implemented!\n", __FUNCTION__); + return ERROR_CALL_NOT_IMPLEMENTED; +} + +SECURITY_STATUS +WINAPI +QueryContextAttributesW(PCtxtHandle Handle, + ULONG Foo, + PVOID Bar) +{ + DPRINT1("%s() not implemented!\n", __FUNCTION__); + return ERROR_CALL_NOT_IMPLEMENTED; +} + +SECURITY_STATUS +WINAPI AcquireCredentialsHandleA ( SEC_CHAR* pszPrincipal, SEC_CHAR* pszPackage, @@ -53,6 +127,25 @@ DPRINT1("%s() not implemented!\n", __FUNCTION__); return ERROR_CALL_NOT_IMPLEMENTED; } + +SECURITY_STATUS +WINAPI +AcquireCredentialsHandleW ( + SEC_WCHAR* pszPrincipal, + SEC_WCHAR* pszPackage, + ULONG fUsage, + PLUID pID, + PVOID pAuth, + SEC_GET_KEY_FN pGetKeyFn, + PVOID pvGetKeyArgument, + PCredHandle phCred, + PTimeStamp pExpires + ) +{ + DPRINT1("%s() not implemented!\n", __FUNCTION__); + return ERROR_CALL_NOT_IMPLEMENTED; +} +
SECURITY_STATUS WINAPI
Propchange: trunk/reactos/dll/win32/secur32/sspi.c ------------------------------------------------------------------------------ --- svn:needs-lock (original) +++ svn:needs-lock (removed) @@ -1,1 +1,0 @@ -*