Commit Graph

1177 Commits

Author SHA1 Message Date
Michael Stefaniuc 9dc835c2bc rpcrt4: Remove redundant "non NULL" check of var cred_dst (coccicheck). 2010-05-20 13:47:52 +02:00
Michael Stefaniuc 943eefc8fc rpcrt4: Avoid using long. 2010-05-17 15:41:33 +02:00
Gerald Pfeifer 2f4c5cf351 rpcrt4: Remove variable hr which is not really used from NdrInterfacePointerBufferSize. 2010-05-17 12:42:31 +02:00
Gerald Pfeifer 3b3085fba1 rpcrt4: Remove variable size which is not really used from NdrComplexArrayUnmarshall. 2010-04-26 07:01:03 -05:00
Aric Stewart 75197bdfaf rpcrt4/tests: Add NdrDllRegisterProxy tests. 2010-04-08 12:25:08 +02:00
Aric Stewart 0e09ade10b rpcrt4: Improve NdrDllRegisterProxy parameter checking. 2010-04-08 12:24:49 +02:00
Aric Stewart 0608581768 rpcrt4: Handle NULL pclsid in NdrDllRegisterProxy and NdrDllUnregisterProxy. 2010-04-08 12:24:11 +02:00
Alexandre Julliard a8e86e35dd winapi: Generate the 64-bit variant of structure size/alignment tests. 2010-04-07 18:03:00 +02:00
Alexandre Julliard 334f3add29 rpcrt4: Implement proxy/stub delegation for x86_64. 2010-04-07 13:09:46 +02:00
Alexandre Julliard a758a38fae rpcrt4: Add support for marshalling int3264 types. 2010-04-07 13:09:30 +02:00
Alexandre Julliard cf50aa91f6 rpcrt4: Clean up handling of enum16 types. 2010-04-07 13:09:17 +02:00
Alexandre Julliard fe2f875aaf rpcrt4: Add support for complex arrays in the generic array unmarshalling functions. 2010-04-05 22:02:20 +02:00
Alexandre Julliard 3243ee7e0b rpcrt4: Add support for complex arrays in the generic array marshalling functions. 2010-04-05 22:01:46 +02:00
Alexandre Julliard c1a9dc8ad2 rpcrt4: Always skip the conformance format, even if conformance is not present in the buffer.
Add an identical SkipVariance function to make the code clearer.
2010-04-05 21:59:30 +02:00
Alexandre Julliard 5728d6b402 rpcrt4: Fix tracing of non-conformant strings. 2010-04-05 21:58:06 +02:00
Alexandre Julliard b91e5302a5 rpcrt4: Replace the alignment macros by inline functions. 2010-04-02 21:54:55 +02:00
Alexandre Julliard afa56b29ce rpcrt4: Fix the pointer alignment macros for 64-bit. 2010-04-02 21:38:32 +02:00
Mikhail Maroukhine 9b933a3594 rpcrt4: Fix compiler warnings with flag -Wcast-qual. 2010-04-01 18:12:41 +02:00
Alexandre Julliard d1c7029b34 rpcrt4: Always start the 64-bit version of rpcss.exe on Wow64. 2010-03-29 15:50:09 +02:00
Michael Stefaniuc 3a8a9620ab rpcrt4/tests: Fix duplicate expressions in if conditions. 2010-03-26 15:35:43 +01:00
Rob Shearman 1ff4bfe69a rpcrt4: Add test for [out] non-conformant array. 2010-03-23 17:27:13 +01:00
Alistair Leslie-Hughes 9d056eb8e2 rpcrt4: Added stub function CreateStubFromTypeInfo. 2010-03-22 15:52:35 +01:00
Rob Shearman f6c4c49f86 rpcrt4: Add tests for a complex array of pointers. 2010-03-19 16:25:48 +01:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Rob Shearman 088c0857c9 rpcrt4: Add support for marshalling/unmarshalling complex arrays of pointers. 2010-03-16 11:42:09 +01:00
Juan Lang 86292d1dba rpcrt4: Implement UuidCreateSequential using the machine's MAC address, when available. 2010-03-04 12:29:54 +01:00
Juan Lang b61c8f8b53 rpcrt4: Add tests for UuidCreateSequential. 2010-03-04 12:29:26 +01:00
Huw Davies 87b712be8b rpcrt4: Add support for FC_FLOAT and FC_DOUBLE in complex structures. 2010-02-22 13:18:50 +01:00
Alexandre Julliard 6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Huw Davies 24db8d384c rpcrt4: Fix tests on win64. 2010-02-15 16:07:53 +01:00
Paul Vriens 693dd47689 rcprt4/tests: Don't crash on NT4 or lower. 2010-02-12 16:39:39 +01:00
Huw Davies 6805045b05 rpcrt4: Add tests for multi-dimensional conformant arrays. 2010-02-11 17:47:59 +01:00
Paul Vriens da91da4652 rpcrt4/tests: Fix some memory leaks (Valgrind). 2010-01-22 13:07:39 +01:00
Rob Shearman c66972dfba rpcrt4: Add structure definition for RPC AUTH3 packet and use the size of this on sending to fix authentication against native servers.
Also use the new size to validate incoming AUTH3 packets to be
consistent with native.
2010-01-19 15:03:56 +01:00
Paul Vriens 876c3c352b rpcrt4/tests: Skip more tests on Win9x/WinMe. 2009-12-16 12:42:40 +01:00
Paul Vriens 4d1fa5833e rpcrt4/tests: Don't crash on NT4. 2009-12-16 12:42:39 +01:00
Marcus Meissner 122ca034db rpcrt4: Exit on unknown confirmance type (Coverity). 2009-12-15 16:09:11 +01:00
Hans Leidekker d95e58ba4d rpcrt4: Avoid test failures on win9x. 2009-12-15 11:45:00 +01:00
Hans Leidekker fddabccaa1 rpcrt4: Add tests for RPC calls with authentication. 2009-12-14 16:14:37 +01:00
Rob Shearman f823f2181e rpcrt4: Override inquire_auth_client for ncalrpc transport to always indicate that the connection is authenticated. 2009-12-14 12:19:37 +01:00
Rob Shearman 3dbf356f8f rpcrt4: Allow the authentication details of the client to be transport-specific. 2009-12-14 12:19:33 +01:00
Rob Shearman d918587f1d rpcrt4: Implement client impersonation. 2009-12-14 12:19:27 +01:00
Rob Shearman 95026f9d6b rpcrt4: Override authentication functions for ncalrpc protocol to do nothing.
The protocol is local only and therefore encryption/decryption isn't
necessary to keep the data private, and methods are built into the
protocol for impersonating the user of the calling thread.
2009-12-14 12:19:21 +01:00
Rob Shearman deae193ac8 rpcrt4: Allow the connection to override the authentication mechanism for a connection type. 2009-12-14 12:19:16 +01:00
Rob Shearman a65f7b637a rpcrt4: Process control packets in the server synchronously to avoid races when using 3-factor authentication.
The client has nothing to wait for after sending the AUTH3 packet
before sending the first request packet. Therefore, we must ensure
that the AUTH3 packet has finished being processed before we start
processing any request packets.
2009-12-14 12:19:09 +01:00
Rob Shearman e27e61db71 rpcrt4: Add support for server-side authentication. 2009-12-14 12:19:02 +01:00
Rob Shearman ceb7fda374 rpcrt4: Fix rpcrt4_conn_tcp_read and rpcrt4_conn_tcp_write for reading/writing zero-sized data. 2009-12-14 12:18:47 +01:00
Rob Shearman 6ad4d5922b rpcrt4: Implement RpcServerRegisterAuthInfoA/W. 2009-12-14 12:18:41 +01:00
Rob Shearman d412bcc3ae rpcrt4: Handle [out]-only non-conformant strings in stubless servers. 2009-12-14 12:04:05 +01:00
Rob Shearman b24aa1c153 rpcrt4: Add support for context handles in stubless servers. 2009-12-14 12:04:05 +01:00