diff options
author | Andrew Tridgell <tridge@samba.org> | 2009-09-22 00:18:03 -0700 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2009-09-22 17:10:05 -0700 |
commit | 8a090265b700669ac9e1296bc3d808e8851945e6 (patch) | |
tree | 1c24e3dac479b356081f8b0325d3fe8844dcff45 /source4/rpc_server/dcerpc_server.h | |
parent | a971b87a9e71cea5ef785b58c8d4ac3f4e3ea22d (diff) | |
download | samba-8a090265b700669ac9e1296bc3d808e8851945e6.tar.gz samba-8a090265b700669ac9e1296bc3d808e8851945e6.tar.bz2 samba-8a090265b700669ac9e1296bc3d808e8851945e6.zip |
s4-rpcserver: added support for shared handles
This supports shared RPC handles across connections on all RPC
interfaces.
It turns out that w2k3 and w2k8 don't actually support this on all
pipes. We need to test which pipes we should enable this on.
Diffstat (limited to 'source4/rpc_server/dcerpc_server.h')
-rw-r--r-- | source4/rpc_server/dcerpc_server.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source4/rpc_server/dcerpc_server.h b/source4/rpc_server/dcerpc_server.h index a64b01fdc5..d273f6eca9 100644 --- a/source4/rpc_server/dcerpc_server.h +++ b/source4/rpc_server/dcerpc_server.h @@ -136,8 +136,10 @@ struct dcesrv_call_state { /* a dcerpc handle in internal format */ struct dcesrv_handle { struct dcesrv_handle *next, *prev; - struct dcesrv_connection_context *context; + struct dcesrv_assoc_group *assoc_group; struct policy_handle wire_handle; + struct dom_sid *sid; + const struct dcesrv_interface *iface; void *data; }; @@ -255,6 +257,9 @@ struct dcesrv_assoc_group { /* list of handles in this association group */ struct dcesrv_handle *handles; + + /* parent context */ + struct dcesrv_context *dce_ctx; }; /* server-wide context information for the dcerpc server */ |