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
Rob Shearman
15cd36d21d
rpcrt4: Fix some memory leaks in the cstub tests.
2009-12-14 12:04:05 +01:00
Marcus Meissner
4c36f79964
rpcrt4: Fixed array_compute_and_size_conformance on strings (Coverity).
2009-12-07 14:18:28 +01:00
Alexandre Julliard
e48f4253a4
rpcrt4/tests: Skip the get_ranged_enum test on old Windows versions.
2009-12-04 14:34:58 +01:00
Rob Shearman
cd453f453f
rpcrt4: Fix memory leak in test_conf_complex_struct.
2009-11-29 16:42:15 +01:00
Rob Shearman
c8f9df7f1e
rpcrt4: Fix uninitialised memory read in ndr_marshall tests.
...
The memory needs to be initialised since NDR will look at the memory
to see if it needs to allocate memory for embedded pointers.
2009-11-29 16:40:20 +01:00
Rob Shearman
af271255f5
rpcrt4: Add tests for full pointers.
2009-11-18 15:15:21 +01:00
Rob Shearman
37793cd550
rpcrt4: Fix the pointer saved during full pointer unmarshalling.
...
The pointer address may set by the type unmarshalling function and
therefore will not be base_ptr_val. This value is the value at
*pPointer and is what needs to be retrieved during subsequent
unmarshalling of the same function.
2009-11-18 15:14:10 +01:00
Rob Shearman
51dbc8d06b
rpcrt4: Fix the return value of NdrFullPointerQueryRefId for a pointer ID of 0.
2009-11-18 14:13:33 +01:00
Rob Shearman
d6f293f7be
rpcrt4: Add test for calling NdrFullPointerQueryRefId with a 0 pointer ID.
2009-11-18 14:13:30 +01:00
Rob Shearman
438f2a52a6
rpcrt4: Implement comm_status and fault_status handling for stubless procedures.
2009-11-16 17:16:33 +01:00
Rob Shearman
cdc10a8d3b
rpcrt4: Don't crash with a NULL binding handle in RpcBindingFree.
2009-11-16 17:16:19 +01:00
Rob Shearman
b49512ecaf
rpcrt4: Ignore the network address for ncalrpc in is_epm_destination_local.
...
The network address is ignored in the transport code, so it doesn't
make sense to take it into account here.
2009-11-16 17:16:14 +01:00
Rob Shearman
eb0d2828b2
rpcrt4: Fix potential NULL pointer access in process_bind_packet.
...
Upon failure to allocate results in process_bind_packet, build nack
packet and send right away, instead of falling into the normal path
and potentially dereferencing the NULL pointer.
2009-11-16 11:34:58 +01:00
Hans Leidekker
03aae9e418
rpcrt4: Add tests for RpcBindingInqAuthInfo.
2009-11-12 15:18:54 +01:00
Hans Leidekker
8abe95ddfa
rpcrt4: Implement RpcBindingInqAuthInfo{, Ex}.
2009-11-12 15:18:48 +01:00
Rob Shearman
efda021c5d
Revert "rpcrt4: The get_ranged_enum test doesn't work on Windows, so don't execute it for the moment.".
...
This reverts commit 81036cc51831db03f8e0eb03b5f74ae5099461cd.
2009-11-12 14:18:27 +01:00
Rob Shearman
03f87bc1c3
rpcrt4: Replace sizeofs with FIELD_OFFSET in RPCRT4_BuildBindNackHeader to avoid relying on ANYSIZE_ARRAY being 1.
2009-11-12 13:15:37 +01:00
Rob Shearman
a638bff53d
rpcrt4: Stop searching through transfer syntaxes in process_bind_packet when one has been found.
...
Fixes Valgrind errors in various tests using RPC.
2009-11-12 13:13:26 +01:00
Hans Leidekker
59e3d9b5c7
rpcrt4: Implement RpcBindingInqAuthClient{, Ex}.
2009-11-11 11:51:18 +01:00
Rob Shearman
59ba6d2573
rpcrt4: Support multiple interfaces and transfer syntaxes in bind and bind ack messages.
2009-11-11 10:56:13 +01:00
Rob Shearman
7e52896b84
rpcrt4: The get_ranged_enum test doesn't work on Windows, so don't execute it for the moment.
2009-11-11 10:56:09 +01:00
Marcus Meissner
860c87bb1c
rpcrt4: Compare network options correctly (Coverity).
2009-11-10 13:10:14 +01:00
Rob Shearman
97d5f3401d
widl: Add support for varargs functions.
2009-11-09 20:42:27 +01:00
Rob Shearman
2b3659f326
widl: Implement [range] attribute.
2009-11-09 20:34:17 +01:00
Hans Leidekker
444307610e
rpcrt4: Add a test for the ncalrpc protocol sequence.
2009-11-04 13:07:56 +01:00
Hans Leidekker
4b33527f51
rpcrt4: Correct spelling of RPC_C_QOS_IDENTITY_STATIC and RPC_C_QOS_IDENTITY_DYNAMIC.
2009-11-04 13:07:56 +01:00
Alexandre Julliard
c4ebf3687b
rpcrt4: Specify the full application path when starting rpcss.exe.
2009-10-27 11:20:42 +01:00
Huw Davies
da86e727bd
rpcrt4: Move the full pointer table init to after a potential call to NdrServerInitializeNew().
2009-10-26 13:38:10 +01:00
Alexandre Julliard
3b602f5fea
rpcrt4/tests: Fix a double free (Valgrind).
2009-10-22 15:10:58 +02:00
Alexandre Julliard
8ce9b8f1be
rpcrt4/tests: Remove tests for specific values of bit fields.
2009-10-09 16:09:20 +02:00
Ge van Geldorp
55230ba6e0
rpcrt4/tests: Fix cstub test on Win7.
2009-09-24 16:03:31 +02:00
Hans Leidekker
ee7755511b
rpcrt4: Add stub implementations of NdrMesTypeDecode2 and NdrMesTypeFree2.
2009-09-22 16:17:53 +02:00
Francois Gouget
891d3ef525
rpcrt4: Fix compilation on systems that don't support nameless unions.
2009-08-31 12:41:37 +02:00