Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-04-03 | s4:librpc/rpc: also parse ncacn_packet pdus with LIBNDR_FLAG_OBJECT_PRESENT | Stefan Metzmacher | 1 | -0/+4 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Apr 3 23:06:31 CEST 2012 on sn-devel-104 | |||||
2012-04-03 | s4:librpc/rpc: don't mix up paylod ndr flags with the dcerpc layer | Stefan Metzmacher | 1 | -1/+1 | |
If the transfer syntax is NDR64, it's only for the payload not for the dcerpc pdus. metze | |||||
2012-03-15 | s4:librpc/rpc: avoid an unused talloc_reference() from dcerpc_request_send() | Stefan Metzmacher | 1 | -4/+1 | |
metze | |||||
2012-03-15 | s4:librpc/rpc: pass a mem_ctx to dcerpc_request_send() | Stefan Metzmacher | 1 | -4/+7 | |
metze | |||||
2012-03-15 | s4:librpc/rpc: use tevent_req_defer_callback() in dcerpc_alter_context_* | Stefan Metzmacher | 1 | -0/+29 | |
metze | |||||
2012-03-15 | s4:librpc/rpc: use tevent_req_defer_callback() in dcerpc_bind_* | Stefan Metzmacher | 1 | -0/+29 | |
metze | |||||
2012-03-15 | s4:librpc/rpc: convert dcerpc_alter_context_send/recv to tevent_req | Stefan Metzmacher | 1 | -102/+147 | |
Many thanks to Andrew Bartlett <abartlet@samba.org> for the debugging, which lead to the following line: talloc_steal(state, raw_packet->data); metze | |||||
2012-03-15 | s4:librpc/rpc: convert dcerpc_bind_send/recv to tevent_req | Stefan Metzmacher | 1 | -99/+133 | |
Many thanks to Andrew Bartlett <abartlet@samba.org> for the debugging, which lead to the following line: talloc_steal(state, raw_packet->data); metze | |||||
2012-03-15 | s4:librpc/rpc: also notify requests which are not shipped about a dead ↵ | Stefan Metzmacher | 1 | -0/+11 | |
connection metze | |||||
2012-03-15 | s4:librpc/rpc: ship requests via an immediate event | Stefan Metzmacher | 1 | -7/+53 | |
Deep inside dcerpc_ship_next_request() some code path could trigger dcerpc_connection_dead(), which means it's not safe to do any processing after calling dcerpc_ship_next_request(). metze | |||||
2012-03-15 | s4:librpc/rpc: if the connecion is dead we're done | Stefan Metzmacher | 1 | -0/+1 | |
There's no point in doing anymore processing, it can just lead to crashes. metze | |||||
2012-03-15 | s4:librpc/rpc: if the connection is dead we don't want to be called recursivly. | Stefan Metzmacher | 1 | -0/+2 | |
metze | |||||
2012-03-07 | s4:librpc/rpc: make dcerpc_bh_raw_call_* more robust against disconnects and ↵ | Stefan Metzmacher | 1 | -0/+15 | |
timeouts Using tevent_req_defer_callback() should make the situation a bit better, until we have a common robust low level dcerpc library. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Mar 7 18:44:24 CET 2012 on sn-devel-104 | |||||
2012-03-07 | s4:librpc/rpc: make dcerpc_bh_is_connected() more robust | Stefan Metzmacher | 1 | -0/+8 | |
metze | |||||
2011-09-14 | s4:librpc/rpc: return NT_STATUS_CONNECTION_DISCONNECTED | Stefan Metzmacher | 1 | -2/+2 | |
We should return the same in all places. metze | |||||
2011-08-13 | s4:librpc: use tevent_ fn names instead of legacy event_ ones | Simo Sorce | 1 | -4/+4 | |
2011-08-03 | gensec: Remove mem_ctx from calls that do not return memory | Andrew Bartlett | 1 | -2/+0 | |
Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-06-09 | s4:librpc/rpc/dcerpc.c - janitorial: use "void" for functions without arguments | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
Probably a mistake in commit 907cdb5de7f16a2540299aeba211bf2a5ae6fafe. Reviewed-by: Tridge | |||||
2011-06-06 | s4-modules Remove lp_ctx from init functions that no longer need it | Andrew Bartlett | 1 | -2/+2 | |
Now that we don't allow the smb.conf to change the modules dir, many functions that simply load modules or initialise a subsytem that may load modules no longer need an lp_ctx. Andrew Bartlett | |||||
2011-03-13 | s4:librpc/rpc: finaly make struct rpc_request and enum rpc_request_state private | Stefan Metzmacher | 1 | -0/+43 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Mar 13 17:46:02 CET 2011 on sn-devel-104 | |||||
2011-03-13 | s4:librpc/rpc: remove unused dcerpc_request() | Stefan Metzmacher | 1 | -21/+0 | |
metze | |||||
2011-03-13 | s4:librpc/rpc: make dcerpc_request_recv() static | Stefan Metzmacher | 1 | -3/+6 | |
metze | |||||
2011-03-13 | s4:librpc/rpc: remove unused dcerpc_ndr_request* code | Stefan Metzmacher | 1 | -189/+0 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Mar 13 11:19:59 CET 2011 on sn-devel-104 | |||||
2011-03-11 | s4:librpc/rpc: s/struct dcerpc_connection/struct dcecli_connection/g | Stefan Metzmacher | 1 | -24/+24 | |
The name 'struct dcerpc_connection' will be used in the new generic dcerpc code. It will be used for client and server. metze | |||||
2011-02-24 | build: moved librpc/rpc/*.c into a rpccommon library | Andrew Tridgell | 1 | -0/+1 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Feb 24 02:42:37 CET 2011 on sn-devel-104 | |||||
2010-10-01 | s4-rpc: added target_principal binding handle option | Andrew Tridgell | 1 | -1/+1 | |
this allows you to specify a target SPN for a connection Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-09-04 | s4:librpc/rpc: implement dcerpc_bh_set_timeout() | Stefan Metzmacher | 1 | -0/+18 | |
metze | |||||
2010-08-12 | s4:librpc/rpc: add dcerpc_binding_handle dcerpc_pipe backend | Stefan Metzmacher | 1 | -2/+409 | |
metze | |||||
2010-08-12 | s4:librpc/rpc: autodetect the need of async call logic | Stefan Metzmacher | 1 | -7/+6 | |
metze | |||||
2010-07-31 | s4:librpc/rpc: use the correct ndr flags in dcerpc_ndr_validate_in() | Stefan Metzmacher | 1 | -0/+16 | |
metze | |||||
2010-07-13 | s4-dcerpc: move some util functions up to main librpc directory. | Günther Deschner | 1 | -30/+0 | |
Guenther Signed-off-by: Simo Sorce <idra@samba.org> Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-05-18 | Finish removal of iconv_convenience in public API's. | Jelmer Vernooij | 1 | -20/+15 | |
2010-04-09 | s4:librpc/rpc: correctly initialize last_fault_code for bind and ↵ | Stefan Metzmacher | 1 | -0/+9 | |
alter_context requests metze | |||||
2010-03-12 | s4:librpc/rpc: add very basic dcerpc_binding_handle infrastructure | Stefan Metzmacher | 1 | -0/+8 | |
metze | |||||
2010-02-16 | s4-dcerpc: fixed auth padding to be relative to the stub, not packet | Andrew Tridgell | 1 | -5/+7 | |
The recent dcerpc padding changes made our padding relative to the packet header, instead of the start of the stub. Surprisingly, this broke w2k8r2 doing a dcpromo join to a s4 server. It seems that w2k8r2 is very fussy about the padding it gets in some circumstances. | |||||
2010-02-14 | a4-dcerpc: another attempt at dcerpc auth padding | Andrew Tridgell | 1 | -8/+11 | |
The last change broke net vampire against w2k8r2 | |||||
2010-02-13 | s4-rpc: be more careful about DCERPC auth padding | Andrew Tridgell | 1 | -52/+23 | |
Cope with a wider range of auth padding in dcerpc bind_ack and alter_context packets. We now use a helper function that calculates the right auth padding. | |||||
2010-02-02 | Change uint_t to unsigned int in source4 | Matt Kraai | 1 | -2/+2 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-11-06 | s4:dcerpc - fix DEBUG output warning | Matthias Dieter Wallnöfer | 1 | -3/+4 | |
2009-09-17 | s4-rpc: added NDR64 support | Andrew Tridgell | 1 | -0/+12 | |
This adds support for the nd464 binding string option | |||||
2009-08-18 | s4:librpc/rpc: fix DEBUG() message | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2009-08-07 | fixed several places that unnecessarily take a reference to the event context | Andrew Tridgell | 1 | -1/+1 | |
These references were triggering the ambiguous talloc_free errors from the recent talloc changes when the server is run using the 'standard' process model instead of the 'single' process model. I am aiming to move the build farm to use the 'standard' process model soon, as part of an effort to make our test environment better match the real deployment of Samba4. The references are not needed as the way that the event context is used is as the 'top parent', so when the event context is freed then all of the structures that were taking a reference to the event context were actually freed as well, thus making the references redundent. | |||||
2009-07-01 | A rather strange varient of talloc_unlink | Andrew Tridgell | 1 | -1/+1 | |
A dcerpc request may have a reference from a still completing async callback, but we now consider the request to be complete. We want to lose the main parent, leaving just the reference, if any. | |||||
2009-06-12 | always enable RPC debugging with a debug level >= 100. | Andrew Tridgell | 1 | -0/+4 | |
This helps with tools where setting the binding string is not possible, such as net | |||||
2009-04-20 | s4:librpc/rpc: pass async as argument to dcerpc_ndr_request_send() | Stefan Metzmacher | 1 | -8/+8 | |
The caller should decide if async is desired it should be harcoded per call. metze | |||||
2009-04-20 | s4:librpc/rpc: remove async argument from the sync dcerpc_request() function | Stefan Metzmacher | 1 | -2/+1 | |
metze | |||||
2009-04-20 | s4:librpc/rpc: only use smb_trans for sync rpc calls | Stefan Metzmacher | 1 | -2/+16 | |
Over named pipes we can only do one smb_trans at a time, otherwise we're getting NT_STATUS_PIPE_BUSY. Async rpc calls need to use smb_read/write only. metze | |||||
2009-02-02 | s4:librpc/rpc: s/private/private_data | Stefan Metzmacher | 1 | -2/+2 | |
metze | |||||
2009-01-01 | Add iconv_convenience argument to size functions. | Jelmer Vernooij | 1 | -1/+1 | |
2008-12-29 | s4:lib/tevent: rename structs | Stefan Metzmacher | 1 | -5/+5 | |
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 |