summaryrefslogtreecommitdiff
path: root/source4/librpc/rpc/dcerpc.c
AgeCommit message (Collapse)AuthorFilesLines
2010-02-16s4-dcerpc: fixed auth padding to be relative to the stub, not packetAndrew Tridgell1-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-14a4-dcerpc: another attempt at dcerpc auth paddingAndrew Tridgell1-8/+11
The last change broke net vampire against w2k8r2
2010-02-13s4-rpc: be more careful about DCERPC auth paddingAndrew Tridgell1-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-02Change uint_t to unsigned int in source4Matt Kraai1-2/+2
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-11-06s4:dcerpc - fix DEBUG output warningMatthias Dieter Wallnöfer1-3/+4
2009-09-17s4-rpc: added NDR64 supportAndrew Tridgell1-0/+12
This adds support for the nd464 binding string option
2009-08-18s4:librpc/rpc: fix DEBUG() messageStefan Metzmacher1-1/+1
metze
2009-08-07fixed several places that unnecessarily take a reference to the event contextAndrew Tridgell1-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-01A rather strange varient of talloc_unlinkAndrew Tridgell1-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-12always enable RPC debugging with a debug level >= 100.Andrew Tridgell1-0/+4
This helps with tools where setting the binding string is not possible, such as net
2009-04-20s4:librpc/rpc: pass async as argument to dcerpc_ndr_request_send()Stefan Metzmacher1-8/+8
The caller should decide if async is desired it should be harcoded per call. metze
2009-04-20s4:librpc/rpc: remove async argument from the sync dcerpc_request() functionStefan Metzmacher1-2/+1
metze
2009-04-20s4:librpc/rpc: only use smb_trans for sync rpc callsStefan Metzmacher1-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-02s4:librpc/rpc: s/private/private_dataStefan Metzmacher1-2/+2
metze
2009-01-01Add iconv_convenience argument to size functions.Jelmer Vernooij1-1/+1
2008-12-29s4:lib/tevent: rename structsStefan Metzmacher1-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
2008-11-02Remove use of global_loadparm during initialization of gensec.Jelmer Vernooij1-2/+2
2008-11-02Remove another use of global_loadparm.Jelmer Vernooij1-3/+5
2008-10-11Fix include paths to new location of libutil.Jelmer Vernooij1-1/+1
2008-09-30Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij1-2/+4
2008-09-30s4:librpc/rpc: correctly sign or seal rpc request with an object guidStefan Metzmacher1-2/+4
metze
2008-09-30make sure dcerpc is always initialized.Jelmer Vernooij1-3/+1
2008-09-13librpc/rpc: don't send auth trailers in level connectStefan Metzmacher1-113/+77
Also ignore auth trailers in level connect on receive. This fixes [krb5,connect] against windows. TODO: maybe the gensec mech need to decide if signatures are needed in level connect. metze (This used to be commit eca0502b8620f2110a303b84def4f0bf48cc4ea5)
2008-08-11librpc/rpc: correct the chunk_size depending on the signature sizeStefan Metzmacher1-4/+13
metze (This used to be commit 50eb0e726405580dc5ca3a8a3b15f3bd674f722a)
2008-08-07librpc/rpc: add support DCERPC_PFC_FLAG_SUPPORT_HEADER_SIGNStefan Metzmacher1-0/+26
You can trigger it like this: ncacn_ip_tcp:172.31.9.234[sign,hdrsign] or ncacn_ip_tcp:172.31.9.234[seal,hdrsign] metze (This used to be commit 54f1fca582b1474693b5ee11b7b847086d27f75f)
2008-08-07librpc/rpc: pass struct dcerpc_pipe to dcerpc_auth3()Stefan Metzmacher1-5/+8
metze (This used to be commit 60b3523da485d845b1d930d990688d8434d39ef3)
2008-04-21Remove more event_context_init() uses from function calls within deep down ↵Simo Sorce1-11/+4
the code. Make sure we pass around the event_context where we need it instead. All test but a few python ones fail. Jelmer promised to fix them. (This used to be commit 3045d391626fba169aa26be52174883e18d323e9)
2008-04-02Install public header files again and include required prototypes.Jelmer Vernooij1-6/+7
(This used to be commit 47ffbbf67435904754469544390b67d34c958343)
2008-02-21Remove more global_loadparm instance.sJelmer Vernooij1-4/+4
(This used to be commit a1280252ce924df69d911e597b7f65d8038abef9)
2008-01-01r26639: librpc: Pass iconv convenience on from RPC connection to NDR ↵Jelmer Vernooij1-10/+16
library, so it can be overridden by OpenChange. (This used to be commit 2f29f80e07adef1f020173f2cd6d947d0ef505ce)
2007-12-21r26432: Require ndr_pull users to specify iconv_convenience.Jelmer Vernooij1-2/+2
(This used to be commit 28b1d36551b75241c1cf9fca5d74f45a6dc884ab)
2007-12-21r26431: Require ndr_push creators to specify a iconv_convenience context.Jelmer Vernooij1-5/+5
(This used to be commit 7352206f4450fdf881b95bda064cedd9d2477e4c)
2007-12-21r26396: dcerpc: Fall back to peer_name() if target_hostname() is not set.Kai Blin1-1/+4
(This used to be commit 700887c7f1b874682a71daec2741b0329cded53c)
2007-12-21r26394: dcerpc: Use target_hostname() instead of peer_name() in ↵Kai Blin1-2/+2
dcerpc_server_name() (This used to be commit c5196831d5fc6190a54e2f684ff506bc243b8dae)
2007-12-21r26226: Avoid more uses of global_loadparm.Jelmer Vernooij1-1/+2
(This used to be commit 6cbce47a3eaef76a89db7cd0ab0d4f6441fc720d)
2007-12-21r25920: ndr: change NTSTAUS into enum ndr_err_code (samba4 callers)Stefan Metzmacher1-54/+88
lib/messaging/ lib/registry/ lib/ldb-samba/ librpc/rpc/ auth/auth_winbind.c auth/gensec/ auth/kerberos/ dsdb/repl/ dsdb/samdb/ dsdb/schema/ torture/ cluster/ctdb/ kdc/ ntvfs/ipc/ torture/rap/ ntvfs/ utils/getntacl.c ntptr/ smb_server/ libcli/wrepl/ wrepl_server/ libcli/cldap/ libcli/dgram/ libcli/ldap/ libcli/raw/ libcli/nbt/ libnet/ winbind/ rpc_server/ metze (This used to be commit 6223c7fddc972687eb577e04fc1c8e0604c35435)
2007-12-21r25829: - use DEBUG() instead of printfStefan Metzmacher1-1/+3
- return an error if strings doesn't match on validate metze (This used to be commit 4f5ad8cd447f8b44df1bd40f5ee3045d5ab2c3dc)
2007-12-21r25824: - NT_STATUS_IS_ERR() is not the same as !NT_STATUS_IS_OK()Stefan Metzmacher1-1/+1
- make the success case some clear by returning NT_STATUS_OK metze (This used to be commit 2b570f96fcf537c1269237e1067ea7801b563b7e)
2007-10-10r25316: Remove last few instances of old BOOL type in librpc/.Jelmer Vernooij1-11/+11
(This used to be commit 80d1dd41d4b224c46ad545f0afd97a847b99860b)
2007-10-10r25027: Fix more warnings.Jelmer Vernooij1-1/+1
(This used to be commit 5085c53fcfade614e83d21fc2c1a5bc43bb2a729)
2007-10-10r25000: Fix some more C++ compatibility warnings.Jelmer Vernooij1-1/+1
(This used to be commit 08bb1ef643ab906f1645cf6f32763dc73b1884e4)
2007-10-10r24994: Fix some C++ warnings.Jelmer Vernooij1-1/+1
(This used to be commit 925abf74fa1ed5ae726bae8781ec549302786b39)
2007-10-10r24780: More work allowing libutil to be used by external users.Jelmer Vernooij1-8/+6
(This used to be commit 31993cf67b816a184a4a4e92ef8ca2532c797190)
2007-10-10r24551: rename dcerpc_interface_table -> ndr_interface_tableStefan Metzmacher1-3/+3
rename dcerpc_interface_list -> ndr_interface_list and move them to libndr.h metze (This used to be commit 4adbebef5df2f833d2d4bfcdda72a34179d52f5c)
2007-10-10r24535: rename struct dcerpc_interface_call -> struct ndr_interface_callStefan Metzmacher1-2/+2
and move it to librpc/ndr/libndr.h metze (This used to be commit abd5551aabae1820baaa52a963e8c7aa9605914e)
2007-10-10r24532: rename struct dcerpc_syntax_id into struct ndr_syntax_idStefan Metzmacher1-6/+6
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 2ed014cfb894cccab1654e3f7d5876393e2b52d7)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell1-3/+2
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 fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r23551: Change data_blob_equal to data_blob_cmp, suitable for sorting with ↵Andrew Bartlett1-2/+2
qsort(). Andrew Bartlett (This used to be commit 96ef5259c63ad6245c94c40d6059d736b1534183)
2007-10-10r22944: fix bug #4618:Stefan Metzmacher1-6/+6
rename private -> private_data metze (This used to be commit 58551f2f28fce8f1fcd04736c47ecd7458f32ea2)
2007-10-10r22486: add a flag to ignore timeouts of a request and don't closeStefan Metzmacher1-0/+12
the connection on timeout metze (This used to be commit 6b23ab1fd265e2a92456701fb02bd1838c098874)