Commit Graph

65 Commits

Author SHA1 Message Date
Robert Shearman
0b1e51ca25 rpcrt4: Now that there's a process-wide pool of connections we don't
need to copy the FromConn field when copying bindings.
2006-06-09 21:07:11 +02:00
Robert Shearman
58ec282bfb rpcrt4: Implement a process-wide connection pool for client connections,
rather than relying on the restriction of one connection per
binding. This also avoids the problem of two threads using the same
connection at the same time.
2006-06-08 10:16:00 +02:00
Robert Shearman
b9f36c3fa2 rpcrt4: Implement RpcBindingCopy. 2006-05-25 10:39:02 +02:00
Jonathan Ernst
360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Robert Shearman
a2d2d4db63 rpcrt4: Update the todo lists and copyrights. 2006-05-20 14:02:24 +02:00
Mike McCormack
a45b16a460 rpcrt4: Fix a possible memory leak, cleanup a bit. 2006-05-18 16:36:44 +02:00
Mike McCormack
c3a08421a2 rpcrt4: Fix and test RpcNetworkIsProtseqValid. 2006-05-18 16:36:34 +02:00
Robert Shearman
63b66b95f9 rpcrt4: Implement RpcBindingSetAuthInfoExW based on the implementation for RpcBindingSetAuthInfoExA. 2006-05-18 10:37:13 +02:00
Robert Shearman
4cd5be2637 rpcrt4: A NULL AuthInfo is allowed.
Pass the server principal name into AcquireCredentialsHandleA.
2006-05-18 10:36:55 +02:00
Robert Shearman
84e42e0165 rpcrt4: Support all available security packages in RpcBindingSetAuthInfoExA, instead of just NTLM. 2006-05-18 10:36:42 +02:00
Robert Shearman
4e89efadf6 rpcrt4: Only use the cached connection if the authentication information is compatible. 2006-05-18 10:36:32 +02:00
Robert Shearman
217ec275b8 rpcrt4: Store non-connection-specific authentication information in a ref-counted structure that is shared between connections and bindings. 2006-05-18 10:36:07 +02:00
Mike McCormack
336e67e2d1 rpcrt4: Implemented NTLM authentication for rpcrt4 connections. 2006-05-16 12:40:13 +02:00
Mike McCormack
f20cfdfa84 rpcrt4: Use RPCRT4_Receive rather than accessing the transport directly. 2006-05-16 12:36:37 +02:00
Mike McCormack
1912fceab6 rpcrt4: Forward RpcBindingSetAuthInfo to RpcBindingSetAuthInfoEx. 2006-05-15 13:56:50 +02:00
Mike McCormack
9088debbfb rpcrt4: Cache the connection so we don't rebind on every call. 2006-05-10 19:26:29 +02:00
Robert Shearman
a4f5296ec6 rpcrt4: Add a stub for RpcBindingSetOption. 2006-05-07 10:01:44 +02:00
Mike McCormack
4e49c380c4 rpcrt4: Add stub implementations for RPC authentication functions. 2006-05-05 16:33:54 +02:00
Mike McCormack
5c6f72873a rpcrt4: Split the transport layer into a different file. 2006-04-21 11:31:51 +02:00
Mike McCormack
fe99f330ab rpcrt4: Abstract the transport layer functionality. 2006-04-20 19:48:15 +02:00
Mike McCormack
0ee6f59cc0 rpcrt4: Use a separate function to open each protseq. 2006-04-20 15:30:23 +02:00
Robert Shearman
b36d5fa11f rpcrt4: Fix some memory leaks. 2006-04-20 15:11:51 +02:00
Mike McCormack
5f6ac9c484 rpcrt4: Use rpcrt4_conn_read in RPCRT4_OpenBinding. 2006-04-19 19:17:42 +02:00
Mike McCormack
d571441562 rpcrt4: Simplify RPCRT4_OpenConnection() a little. 2006-04-19 14:48:02 +02:00
Mike McCormack
ae8197ef37 rpcrt4: Split code to open a pipe from RPCRT4_OpenConnection. 2006-04-19 14:31:01 +02:00
Mike McCormack
7e709cf258 rpcrt4: Isolate code to open named pipes out of RPCRT4_OpenConnection. 2006-04-19 14:30:15 +02:00
Mike McCormack
d168219849 Fix gcc 4.0 warnings. 2005-09-06 10:26:13 +00:00
Stefan Huehner
4f82e547d7 Fix some missing-declarations warnings. 2005-07-24 17:11:59 +00:00
Robert Shearman
cdb3cdf3cf - Don't pass the PROFILE_SERVER flag in to CreateNamedPipe as it is
bogus.
- Call FlushFileBuffers to make sure the other end of the pipe doesn't
  get cut off prematurely.
- Don't call CancelIo as we should never have async I/O pending.
2005-06-08 18:31:38 +00:00
Francois Gouget
6b10c324c5 Assorted spelling fixes. 2005-03-30 17:08:31 +00:00
Robert Shearman
64280a6de4 - RpcMgmtStopServerListen should not affect auto-listen interfaces.
- Implement stub for RpcRevertToSelfEx.
- Change the more verbose files to use a new debug channel, "rpc."
2005-03-14 10:11:04 +00:00
Mike Hearn
486fd1f6f4 Suppress some useless warnings in the RPC runtime, and make a few
TRACEs that were reporting problems into WARNs.
2005-03-04 10:46:36 +00:00
Robert Shearman
b24193c344 - Add a stub implementation of RpcImpersonateClient.
- More tracing, particularly on error paths.
2005-02-15 20:45:37 +00:00
Robert Shearman
1912e8896e ERROR_IO_PENDING is expected, so don't return an error. 2005-02-15 15:03:14 +00:00
Mike McCormack
4a0f999859 Use CreateEventW in preference to CreateEventA for unnamed events. 2005-01-07 15:40:09 +00:00
Michael Stefaniuc
5ad7d858e0 Do not check for non NULL pointer before HeapFree'ing it. It's
redundant.
2004-12-23 17:06:43 +00:00
Mike McCormack
bff122fe94 Avoid non-standard types in rpcdcep.h. 2004-09-03 01:04:05 +00:00
Mike Hearn
86cc2d54c7 - Don't ERR on a used connection being destroyed.
- Don't print an extra newline in the olerelay code.
2004-06-23 00:10:29 +00:00
Mike Hearn
484f1b82d2 Remove the RPC connection cache as Windows does not allow multiple
binds on the same connection.
2004-06-17 19:54:34 +00:00
Mike Hearn
c71c514fec Correct connection releases on error path in RPCRT4_OpenBinding. 2004-06-16 20:07:19 +00:00
Patrik Stridvall
070db4e5de Fixed some issues found by winapi_check. 2004-05-17 21:08:31 +00:00
Filip Navara
c5580b0355 Make RPCRT4 use Windows compatible protocol (DCE v5.0) for
communication.
2004-04-26 23:33:39 +00:00
Filip Navara
7930ada851 Fix some RPC prototypes to get it compiling with W32API. 2004-04-19 23:03:58 +00:00
Filip Navara
2493529750 Fix the case of RpcNetworkIsProtseqValid[AW] (was
RpcNetworkIsProtSeqValid[AW]) names.
2004-04-14 04:28:27 +00:00
Robert Shearman
d1d89a64a6 - Fix a bad use of HeapRealloc.
- Fix error return codes.
- Improve traces.
2004-02-27 04:33:41 +00:00
Francois Gouget
6b6ed724ae Add missing '\n's to debug traces. 2004-01-27 00:01:43 +00:00
Gregory M. Turner
7a513d2795 Wine also supports the ncacn_np protocol sequence. 2004-01-26 20:13:18 +00:00
Mike Hearn
eca464b679 Implemented RpcIsProtSeqValid. 2004-01-20 23:36:50 +00:00
Ove Kaaven
cb6c83dfc3 Properly handle destroying the first connection in the connection
cache.
2004-01-09 00:34:53 +00:00
Dimitrie O. Paun
f5a23da2b2 Bail when we're out of memory. 2003-11-20 23:42:38 +00:00