Commit Graph

270 Commits

Author SHA1 Message Date
Kai Blin 9b480ef06e secur32: Implement simple MakeSignature. 2006-08-14 11:58:17 +02:00
Kai Blin c8c7bf61ad secur32: Make AcceptSecurityContext behaviour consistent with Windows. 2006-08-14 11:55:46 +02:00
Kai Blin 4ff2d893c3 secur32: Implement CompleteAuthToken for NTLM. 2006-08-11 11:55:17 +02:00
Kai Blin d2989cc32d secur32: Make ntlm tests run on both WinXP and Win2k. 2006-08-09 17:12:14 +02:00
Kai Blin a71cf8446f secur32: Add tests for MakeSignature, VerifySignature, EncryptMessage and DecryptMessage. 2006-08-09 17:10:37 +02:00
Kai Blin c62193266d secur32: Move NTLM tests to ntlm.c to avoid cluttering main.c with NTLM-specific tests. 2006-08-09 11:20:03 +02:00
Andrew Talbot 8e2d28dd25 secur32/tests: Write-strings warnings fix. 2006-08-07 13:10:25 +02:00
Juan Lang 866969ed2b secur32: Improve schannel's AcquireCredentialsHandle, with tests. 2006-07-28 12:36:39 +02:00
Andrew Talbot b62bbe5568 secur32: Write-strings warnings fix. 2006-07-19 09:39:54 +02:00
Alexandre Julliard 0fa8baafcb make_dlls: Recursively ignore .ok files in all tests directories. 2006-07-10 21:26:50 +02:00
Alexandre Julliard edd100b899 make_dlls: Recursively ignore testlist.c in all tests directories. 2006-07-10 21:19:42 +02:00
Alexandre Julliard 5258e061dc make_dlls: Ignore generated import libraries from the top-level .gitignore. 2006-07-10 20:55:58 +02:00
Alexandre Julliard cc2b3b48e6 Take advantage of the recursive nature of .gitignore for Makefile entries.
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +02:00
Andrew Talbot e239953e51 secur32: Write-strings warnings fix. 2006-06-23 10:46:10 +02:00
Thomas Weidenmueller 5fb24924fb include: Fix definition of SECURITY_INTEGER. 2006-06-19 21:22:40 +02:00
Uwe Bonnes a8a7976bc0 secur32: Fix another GetProcessHeap vs GetProcessHeap(). 2006-06-19 20:54:19 +02:00
Kai Blin b432e11927 secur32: Remove unneeded function from the Negotiate provider. 2006-06-19 20:53:53 +02:00
Kai Blin 9d5e09d748 secur32: Implement QueryContextAttributes. Add tests. 2006-06-16 11:31:23 +02:00
Kai Blin be4d1fea4d secur32: Don't fail on SECURITY_NETWORK_DREP, ntlm_auth handles this just fine. 2006-06-03 11:45:41 +02:00
Kai Blin f21983cf11 secur32: Add EncryptMessage and DecryptMessage stubs. 2006-06-02 11:22:12 +02:00
Kai Blin b1049be48f secur32: Cleaning up the authentication tests.
This should make it easier to add encryption tests later.
2006-05-28 18:14:05 +02:00
Kai Blin f543aea5e3 secur32: Fix wrong bit shift in the base64 encoder.
Thanks to Juan Lang for catching this one.
2006-05-27 10:55:05 +02:00
Mike McCormack f8dea2d803 secur32: Avoid some code duplication. 2006-05-26 20:21:05 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Mike McCormack 4cd377d49c secur32: Cleanup InitializeSecurityContext (reduce indent and duplication). 2006-05-20 13:59:56 +02:00
Mike McCormack d243b39c94 secur32: Tidy up the initialization code a little. 2006-05-20 13:59:09 +02:00
Michael Stefaniuc a87520036f janitorial: Remove redundant NULL pointer checks before HeapFree'ing them.
Some HeapFree's are hidden behind macros. Found by smatch.
2006-05-10 11:31:41 +02:00
Michael Stefaniuc 968ad51d2a secur32: Missing LeaveCriticalSection on error paths. 2006-05-05 20:59:31 +02:00
Dmitry Timoshkov 8414777cba secur32: Add partial support for ISC_REQ_ALLOCATE_MEMORY in the NTLM security provider. 2006-05-05 20:23:30 +02:00
Dmitry Timoshkov d89a038287 secur32: Fix some wrong assumptions in the NTLM test case, make it pass in XP SP2 and Wine. 2006-05-05 20:23:17 +02:00
Kai Blin e6351700bc secur32: Update ntlm_auth version detection to detect new samba4 version numbers.
Samba4 changed the versioning from 3.9.X to 4.0.0tpX-preY.
2006-03-16 16:22:11 +01:00
Vijay Kiran Kamuju 517e310282 secur32: Add InitializeSecurityContext stub for schannel. 2006-02-14 17:37:36 +01:00
Robert Shearman 81d9e10533 secur32: Improve tracing.
Improve the tracing for functions that can be called by the app, but
bypass the relay code.
2006-02-10 14:51:59 +01:00
Francois Gouget d0c5f1498c Add trailing '\n's to ok() and trace() calls. 2006-02-06 20:58:14 +01:00
Dmitry Timoshkov 57a579ffcd Make more arrays const. 2006-01-24 14:00:32 +01:00
Kai Blin 0605cf0113 secur32: Added DeleteSecurityContext. 2006-01-23 11:23:21 +01:00
Kai Blin 49943c9cf4 secur32: Rewrote NTLM tests in a more flexible way. 2006-01-03 12:06:21 +01:00
Kai Blin 43b21b6e86 secur32: Adding AcceptSecurityContext to the NTLM security provider. 2005-12-19 21:20:03 +01:00
Kai Blin 3ba73f0ff6 secur32: Fix conversion of password in NTLM AcquireCredentialsHandleA. 2005-12-09 14:52:20 +01:00
Kai Blin d1a2dd79cc secur32: Implement InitializeSecurityContext(A|W) for the NTLM
security provider.
2005-12-07 12:51:05 +01:00
Kai Blin 79aff338a3 secur32: Implementing AcquireCredentialsHandle(A|W) for the NTLM
security provider.
2005-12-06 21:22:57 +01:00
Alexandre Julliard 0ec7e1a591 Renamed all .cvsignore files to .gitignore. 2005-11-26 13:10:33 +01:00
Francois Gouget f4c0524ec6 Assorted spelling and case fixes. 2005-11-10 11:39:07 +00:00
Stefan Huehner e1364b02a3 Fix segfault when querying non-existent SecurityProvider. 2005-11-07 16:39:00 +00:00
Kai Blin 2b5ade97ce A dispatcher for running ntlm_auth. 2005-10-30 19:06:24 +00:00
Ivan Leo Puoti 372a281c24 Make secur32.dll tests load on nt 4.0. 2005-10-26 10:09:53 +00:00
Alexandre Julliard 7e22be4d84 We are no longer generating .dbg.c files. 2005-09-29 10:35:58 +00:00
Francois Gouget 10f72c719b Add trailing '\n's to ok() calls. 2005-09-26 09:52:25 +00:00
Kai Blin c532c866c6 Added base64 codec for communication with ntlm_auth. 2005-09-21 11:43:52 +00:00
Marcus Meissner bd7ec9aca5 The last argument to MultiByteToWideChar is wide character count and
not the buffer size in bytes. Fixed all places where it was wrong.
2005-09-12 22:07:53 +00:00
Alexandre Julliard 63a643e50f Authors: James Hawkins <truiken@gmail.com>, Juan Lang <juan_lang@yahoo.com>
Use a standard wine list for packages and providers.
2005-08-30 08:55:20 +00:00
Alexandre Julliard cc4da88563 Explicitly import kernel32 in tests that use it. 2005-08-27 09:27:09 +00:00
Kai Blin 2cc40bac7d Fixed a couple of bugs in InitializeSecurityContext(A/W) and
AcceptSecurityContext.
2005-08-22 10:05:45 +00:00
Francois Gouget fae73a1090 Assorted spelling fixes. 2005-08-17 09:56:24 +00:00
Kai Blin 4fd3f40952 Add NTLM security provider dummy. 2005-08-17 09:52:30 +00:00
Francois Gouget 6fb12fc291 Declare PNTSTATUS in lmaccess.h and ntsecapi.h to match the PSDK.
Protect against multiple definitions.
Use PNTSTATUS where appropriate.
2005-08-16 16:01:49 +00:00
Juan Lang 2fa840b043 Fix uninitialized pointer in builtin providers. Reported by Kai
Blin.
2005-08-16 11:13:30 +00:00
Kai Blin ece9de5aaa Added Negotiate security provider dummy. Removed todos from the test. 2005-08-15 20:52:18 +00:00
Kai Blin 6970dbc7cf Added more secur32.dll tests and fixed missing constants in
winerror.h.
2005-08-11 17:08:06 +00:00
Kai Blin 84fb7913f9 Set up tests for secur32. 2005-08-03 13:08:49 +00:00
Hans Leidekker 524251db40 Stub implementations for GetUserNameEx{A,W}, TranslateName{A,W},
LsaCallAuthenticationPackage, LsaConnectUntrusted and
LsaDeregisterLogonProcess.
2005-07-18 09:11:14 +00:00
Juan Lang bc0f448774 Begin stubs of built-in schannel provider. 2005-05-13 17:44:47 +00:00
Alexandre Julliard 34fa35dc99 Added rules for building import libraries in the individual dll
makefiles, and added support for building a .def.a static import
library too.
2005-05-09 14:42:30 +00:00
Alexandre Julliard d62356aa1e Added rules to build import libraries in the individual dll makefiles.
Generate import libraries with the right name right away instead of
using an intermediate .spec.def file.
2005-05-07 12:39:52 +00:00
Jakob Eriksson 9ed61de9a2 Get rid of HeapAlloc casts. 2005-03-24 21:01:35 +00:00
Mike McCormack e18965dfc8 Add stub implementation for GetComputerObjectName. 2004-07-12 19:52:47 +00:00
Patrik Stridvall 070db4e5de Fixed some issues found by winapi_check. 2004-05-17 21:08:31 +00:00
Francois Gouget ebf0eb3138 Make static Unicode strings const. 2004-04-20 00:34:52 +00:00
Alexandre Julliard 9e4ed6460c .spec.c files are no longer used for 32-bit dlls. 2004-03-24 03:36:44 +00:00
Juan Lang 3ed89c33b0 Added a secur32.dll that loads other SSP DLLs and forwards calls to
them.
2004-03-02 04:57:35 +00:00