Julien Kerihuel
fd90d270c7
Add DCERPC flag to call unbind hooks without destroying the connection itself upon termination of a connection with outstanding pending calls.
...
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Apr 14 20:39:34 CEST 2015 on sn-devel-104
2015-04-14 20:39:34 +02:00
Julien Kerihuel
caaf89e899
Add multiplex state to dcerpc flags and control over multiplex PFC flag in bind_ack and and dcesrv_alter replies
...
Signed-off-by: Julien Kerihuel <j.kerihuel@openchange.org>
Reviewed-by: "Stefan (metze) Metzmacher" <metze@samba.org>
Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
2015-03-25 22:21:13 +01:00
Stefan Metzmacher
9ee5887a36
s4:rpc_server: add support for DCERPC_AUTH_TYPE_NCALRPC_AS_SYSTEM
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Mon Jan 26 14:23:50 CET 2015 on sn-devel-104
2015-01-26 14:23:49 +01:00
Stefan Metzmacher
175b8e1475
s4:rpc_server: remember the hdr_signing negotiation result in dcesrv_auth
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Wed Jan 8 18:37:22 CET 2014 on sn-devel-104
2014-01-08 18:37:22 +01:00
Stefan Metzmacher
79996cd1eb
s4:rpc_server: remove unused DCESRV_CALL_STATE_FLAG_HEADER_SIGNING
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
2014-01-08 14:35:16 +01:00
Stefan Metzmacher
e6a58d3704
s4:rpc_server: make sure we don't terminate a connection with pending requests (bug #9820 )
...
Sadly we may have nested event loops, which won't work correctly with
broken connections, that's why we have to do this...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Wed Jul 10 08:47:38 CEST 2013 on sn-devel-104
2013-07-10 08:47:38 +02:00
Andrew Bartlett
d057116cc2
server_id.idl: Bring server_id.idl in common
...
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-06-09 12:40:08 +02:00
Andrew Bartlett
cdd802af83
s4-messaging Rename messaging -> imessaging
...
This avoid symbol and structure conflicts between Samba3 and Samba4,
and chooses a less generic name.
Andrew Bartlett
2011-05-03 07:37:07 +02:00
Andrew Tridgell
7c83f69383
s4-rpc: added dcesrv_call_account_name()
...
this will be used by openchange
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Tue Mar 15 06:14:00 CET 2011 on sn-devel-104
2011-03-15 06:14:00 +01:00
Andrew Tridgell
48ea48d503
s4-rpc: added public APIs for dce_call authentication
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-03-15 12:22:18 +11:00
Andrew Tridgell
bed374215f
s4-idl: rename s4 server_id.idl to server_id4.idl
...
this avoids a conflict with the new s3 server_id.idl
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-18 18:41:00 +11:00
Jelmer Vernooij
ffd7cee150
torture: Link against rpc server itself, not service module. (against which we can't link).
2010-10-11 01:06:36 +02:00
Stefan Metzmacher
7bbaab8dff
s4:rpc_server: remove 'socket_address' based functions
...
metze
2010-04-27 13:00:25 +02:00
Stefan Metzmacher
c42bb8e49c
s4:rpc_server: remember the local and remote address
...
metze
2010-04-27 13:00:25 +02:00
Andrew Bartlett
f74ce57cb5
s4:rpc_server Add a 'if_version' parameter to the bind operation.
...
This allows the interface version to be forwarded to the remote server
in the RPC proxy, both in the endpoint lookup and the subsequent bind.
Andrew Bartlett
2010-02-20 02:55:29 +11:00
Andrew Bartlett
10fed057cd
s4:rpc_server Record the remote connections association group ID
...
By recording the association group the remote server assigned to our
proxied RPC connection, we can ensure we use the same value when the
client wishes to use it.
This isn't stored in a private pointer, as mapiproxy will want to use
this feature too.
Andrew Bartlett
2010-02-19 16:32:49 +11:00
Andrew Tridgell
8a090265b7
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.
2009-09-22 17:10:05 -07:00
Andrew Tridgell
69cb91a2eb
s4-rpcserver: added shared association groups
...
This patch allows us to share association groups and their rpc handles
between connections. This is needed for some DRSUAPI behaviour when
recent windows clients connect.
2009-09-22 17:10:05 -07:00
Stefan Metzmacher
900a8d435d
s4:rpc_server: remove some now unused code
...
metze
2009-09-18 20:34:44 +02:00
Stefan Metzmacher
30038534f4
s4:rpc_server: convert the socket based part to use the tstream interface
...
metze
2009-05-01 17:42:12 +02:00
Stefan Metzmacher
5bca70a0c2
s4:rpc_server: s/private/private_data
...
metze
2009-02-02 13:08:49 +01:00
Stefan Metzmacher
183c379fe5
s4:lib/tevent: rename structs
...
list=""
list="$list event_context:tevent_context"
list="$list fd_event:tevent_fd"
list="$list timed_event:tevent_timer"
for s in $list; do
o=`echo $s | cut -d ':' -f1`
n=`echo $s | cut -d ':' -f2`
r=`git grep "struct $o" |cut -d ':' -f1 |sort -u`
files=`echo "$r" | grep -v source3 | grep -v nsswitch | grep -v packaging4`
for f in $files; do
cat $f | sed -e "s/struct $o/struct $n/g" > $f.tmp
mv $f.tmp $f
done
done
metze
2008-12-29 20:46:40 +01:00
Jelmer Vernooij
0f04beff33
Rename dom_sid.idl -> server_id.idl (since it no longer actually contains the dom_sid). No longer include it from security.idl.
2008-12-16 15:36:18 +01:00
Stefan Metzmacher
26200f4fb1
s4:rpc_server: make it possible for iface->bind() to specify the assoc_group_id
...
This helps the openchange mapiproxy plugin to work correctly.
metze
2008-12-08 15:25:25 +01:00
Jelmer Vernooij
c537f7a914
Fix the build.
2008-11-02 05:49:36 +01:00
Jelmer Vernooij
aaa3e0425d
Fix includes.
2008-10-15 02:52:10 +02:00
Stefan Metzmacher
746d3c8ff9
rpc_server: add support for DCERPC_PFC_FLAG_SUPPORT_HEADER_SIGN
...
you need "dcesrv:header signing=yes" to enable it.
metze
(This used to be commit bde2496e6b
)
2008-08-07 15:40:20 +02:00
Jelmer Vernooij
1cf8130e11
Move handle utility functions to public header, remove more public headers.
...
(This used to be commit 92e71c19f4
)
2008-04-02 14:18:31 +02:00
Jelmer Vernooij
afe3e8172d
Install public header files again and include required prototypes.
...
(This used to be commit 47ffbbf674
)
2008-04-02 04:53:27 +02:00
Jelmer Vernooij
57f20ccd24
r26296: Store loadparm context in DCE/RPC server context.
...
(This used to be commit fc1f4d2d65
)
2007-12-21 05:48:13 +01:00
Jelmer Vernooij
82037a75ea
r24814: Fix headers, trim core.h even more.
...
(This used to be commit 9647f860bd
)
2007-10-10 15:03:14 -05:00
Jelmer Vernooij
61ffa08f4c
r24712: No longer expose the 'BOOL' data type in any interfaces.
...
(This used to be commit 1ce32673d9
)
2007-10-10 15:02:54 -05:00
Stefan Metzmacher
ce84ab9a83
r24532: rename struct dcerpc_syntax_id into struct ndr_syntax_id
...
and move it into misc.idl
The goal is to get rid a all dcerpc specific stuff in the
generated ndr layer.
metze
(This used to be commit 2ed014cfb8
)
2007-10-10 15:02:11 -05:00
Andrew Tridgell
0479a2f1cb
r23792: convert Samba4 to GPLv3
...
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
(This used to be commit fcf38a38ac
)
2007-10-10 14:59:12 -05:00
Andrew Tridgell
dfb04271eb
r21835: fixed a rpc server bug where we failed to remove a call from one
...
linked list when moving it to another. This could cause a valgrind
error under the RPC-SCANNER test.
(This used to be commit 9ba8c00851
)
2007-10-10 14:49:34 -05:00
Andrew Tridgell
1cd4339b9a
r20646: first preparations for cluster enablement. This changes "
...
uint32_t server_id
to
struct server_id server_id;
which allows a server ID to have an node number. The node number will
be zero in non-clustered case. This is the most basic hook needed for
clustering, and ctdb.
(This used to be commit 2365abaa99
)
2007-10-10 14:37:23 -05:00
Andrew Bartlett
72c5be634c
r18363: Found a rather nasty bug in our fragment handling.
...
We were adding packet fragments onto the *reply* queue, not the
recieve queue. This worked, as long as we got a whole packet before
we did any reply work, but failed once the backend called a remote
LDAP server (and I presume something invoked the event loop).
Andrew Bartlett
(This used to be commit a0162e0ace
)
2007-10-10 14:18:19 -05:00
Stefan Metzmacher
63aaa6b782
r17340: initialize elements od dcesrc_call_state in one central place
...
and pass the messaging context to the call
metze
(This used to be commit 0d7f16d7be
)
2007-10-10 14:15:16 -05:00
Stefan Metzmacher
e941cc3003
r15772: pass the messaging context and server_id to the dcerpc server subsystem
...
metze
(This used to be commit fb1debf219
)
2007-10-10 14:08:17 -05:00
Jelmer Vernooij
42da534d66
r14735: Use dcerpc_syntax_id rather then seperate GUID + if_version everywhere
...
(This used to be commit a316b33057
)
2007-10-10 13:59:17 -05:00
Jelmer Vernooij
35349a58df
r14542: Remove librpc, libndr and libnbt from includes.h
...
(This used to be commit 51b4270513
)
2007-10-10 13:58:42 -05:00
Stefan Metzmacher
a949db7c6d
r14486: remove the need of a stream_connection on a dcesrv_connection,
...
and let the transport set callbacks for getting the own and peer
socket_address
metze
(This used to be commit 56fac3ddbb
)
2007-10-10 13:57:32 -05:00
Jelmer Vernooij
83d8fd3dcf
r14484: Install more headers
...
(This used to be commit 430c6516d3
)
2007-10-10 13:57:31 -05:00
Jelmer Vernooij
e3f2414cf9
r14380: Reduce the size of structs.h
...
(This used to be commit 1a16a6f1df
)
2007-10-10 13:57:16 -05:00
Stefan Metzmacher
45c92c9cf0
r13923: make the state_flags per dcesrv_connection
...
this will may help with a generic named pipe solution
metze
(This used to be commit c6fa9bd15c
)
2007-10-10 13:52:24 -05:00
Jelmer Vernooij
63d718e243
r12696: Reduce the size of include/structs.h
...
(This used to be commit 6391761601
)
2007-10-10 13:49:40 -05:00
Jelmer Vernooij
2cd5ca7d25
r12542: Move some more prototypes out to seperate headers
...
(This used to be commit 0aca5fd513
)
2007-10-10 13:47:55 -05:00
Jelmer Vernooij
d658de65d3
r12512: Use GUID structs in API functions everywhere rather then converting back and
...
forth between GUID structs and strings in several places.
(This used to be commit 3564e2f967
)
2007-10-10 13:47:48 -05:00
Stefan Metzmacher
a8ec371a61
r10078: - add a 'struct data_blob_list_item'
...
- use this for the send_queue's of the different stream_servers
to not redefine the same struct so often, and it maybe will be used
in other places too
metze
(This used to be commit b6694f067a
)
2007-10-10 13:37:51 -05:00
Stefan Metzmacher
8ab3f59a10
r8036: revert rev 8023/8024 as they have a bugs.
...
metze
(This used to be commit 66d6b1d578
)
2007-10-10 13:19:01 -05:00