Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-03-12 | s4:librpc/rpc/dcerpc_util.c: make use of use tevent_req based ↵ | Stefan Metzmacher | 1 | -10/+12 | |
dcerpc_binding_handle stubs metze | |||||
2010-03-12 | s4:librpc/rpc/dcerpc_schannel.c: make use of use tevent_req based ↵ | Stefan Metzmacher | 1 | -16/+22 | |
dcerpc_binding_handle stubs metze | |||||
2010-03-12 | s4:librpc/rpc: add very basic dcerpc_binding_handle infrastructure | Stefan Metzmacher | 2 | -0/+19 | |
metze | |||||
2010-03-05 | s4-rpc: don't use s->credentials after it is freed | Andrew Tridgell | 1 | -2/+1 | |
2010-03-01 | s4:librpc/rpc: make use of explicit dcerpc_*_recv functions | Stefan Metzmacher | 2 | -3/+3 | |
metze | |||||
2010-02-17 | Revert "Got back to 16-byte padding on auth RPC. S3 clients and servers now ↵ | Jeremy Allison | 1 | -6/+4 | |
cope with this. Jeremy" This reverts commit 38c50c7027d2a2a9a3df060b74b2a2efce4d9e6f. As tridge requested, we need this to work with older S3 servers, not just for smbtorture4. Jeremy. | |||||
2010-02-17 | Got back to 16-byte padding on auth RPC. S3 clients and servers now cope ↵ | Jeremy Allison | 1 | -4/+6 | |
with this. Jeremy | |||||
2010-02-17 | s4-rpc: paranoid check for auth_length | Andrew Tridgell | 1 | -0/+11 | |
This is not strictly needed as the ndr_pull_advance() checks it a few lines further down, but I want to save Jeremy getting more grey hairs :-) | |||||
2010-02-16 | s4-rpc: don't use auth padding in rpc bind requests as it breaks s3 | Andrew Tridgell | 1 | -0/+7 | |
The s3 RPC server returns a bind_nak if it gets a rpc bind with auth padding. This change forces a padding length of zero to maximimise compatibility with s3 servers. I've left the padding code in as a #if 0 to make it easier for us to test/fix the s3 server code, which should be changed to correctly handle arbitrary auth padding in all rpc requests with auth trailers. | |||||
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 | 2 | -11/+16 | |
The last change broke net vampire against w2k8r2 | |||||
2010-02-13 | s4-rpc: be more careful about DCERPC auth padding | Andrew Tridgell | 2 | -52/+83 | |
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-09 | s4:Remove "Py_RETURN_NONE" compatibility code | Matthias Dieter Wallnöfer | 1 | -4/+0 | |
This was needed only by Python 2.3 which we no longer support. | |||||
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-10-23 | s4-python: we need to include Python.h first | Andrew Tridgell | 1 | -1/+1 | |
If we don't include Python.h first then we get a pile of warnings due to broken redefines of XOPEN_SOURCE in the Python includes. | |||||
2009-10-15 | s4-smb: declare root_fid as a file handle | Andrew Tridgell | 1 | -1/+1 | |
In order to implement root_fid in the s4 SMB server we need to declare it as a handle type, just as for other fnum values in SMB. This required some extensive (but simple) changes in many bits of code. | |||||
2009-10-02 | s4: fix various warnings (not "const" related ones) | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2009-09-19 | s4-resolve: fixed a crash bug on timeout | Andrew Tridgell | 1 | -1/+1 | |
We were creating the name resolution context as a child of lp_ctx, which meant when we gave up on a connection the timer on name resolution kept running, and when it timed out the callback crashed as the socket was already removed. | |||||
2009-09-17 | s4-rpc: added NDR64 support | Andrew Tridgell | 5 | -7/+31 | |
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-07-01 | fixed rpc smb code to not reply on talloc_free being a function pointer | Andrew Tridgell | 2 | -2/+13 | |
The upcoming talloc_free/talloc_reference changes change talloc_free to be a macro. These two bits of code relied on it being a function pointer | |||||
2009-06-18 | s4:libnet Allow 'net password change' to work on expired passwords | Andrew Bartlett | 2 | -2/+4 | |
We need to pass down flags to the DCE/RPC layer to allow fallback to anonymous connections, as we can't log in with an expired password. The anonymous connection can then change the password with SAMR. Andrew Bartlett | |||||
2009-06-12 | always enable RPC debugging with a debug level >= 100. | Andrew Tridgell | 2 | -0/+8 | |
This helps with tools where setting the binding string is not possible, such as net | |||||
2009-06-02 | Fix more unresolved symbols. | Jelmer Vernooij | 1 | -2/+1 | |
2009-04-20 | s4:librpc/rpc: pass async as argument to dcerpc_ndr_request_send() | Stefan Metzmacher | 2 | -8/+9 | |
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 | 3 | -4/+2 | |
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-04-20 | s4:librpc/rpc: ask for 0x2000 bytes in the ioctl case to match all othercases | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2009-04-14 | Rework Samba4 to use the new common libcli/auth code | Andrew Bartlett | 1 | -8/+10 | |
In particular, this is the rename from creds_ to netlogon_creds_, as well as other links to use the new common crypto. Andrew Bartlett | |||||
2009-02-05 | s4:pyrpc: fix compiler warnings | Stefan Metzmacher | 1 | -3/+5 | |
metze | |||||
2009-02-02 | s4:libcliraw: s/private/private_data | Stefan Metzmacher | 1 | -8/+8 | |
metze | |||||
2009-02-02 | s4:librpc/rpc: s/private/private_data | Stefan Metzmacher | 3 | -11/+11 | |
metze | |||||
2009-01-26 | pyrpc: Raise proper NDR error codes with matching strings rather than mapping | Jelmer Vernooij | 1 | -1/+1 | |
to NTSTATUS first. | |||||
2009-01-25 | Add prototypes required by samba-gtk. | Jelmer Vernooij | 1 | -0/+2 | |
2009-01-09 | Add derpc_transport_string_by_transport(), apply some const | Volker Lendecke | 1 | -1/+2 | |
2009-01-08 | Avoid using a utility header for Python replacements included in Samba, | Jelmer Vernooij | 1 | -1/+5 | |
since this will not be shipped with talloc/tdb/tevent/etc. | |||||
2009-01-07 | s3/s4 build: Fix Py_RETURN_NONE to work with python versions < 2.4 | Tim Prouty | 1 | -1/+1 | |
2009-01-07 | Set proper python exception when running out of memory. | Jelmer Vernooij | 1 | -2/+6 | |
2009-01-06 | Add some const to dcerpc_binding_build_tower() | Volker Lendecke | 1 | -1/+3 | |
2009-01-06 | Fix prototype. | Jelmer Vernooij | 1 | -1/+1 | |
2009-01-06 | py: Properly increase the reference counter of Py_None. | Jelmer Vernooij | 1 | -2/+2 | |
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 | 6 | -25/+25 | |
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-22 | pidl/python: Factor out connect code rather than duplicating it in each | Jelmer Vernooij | 2 | -2/+69 | |
Python module. | |||||
2008-12-22 | Add header for pyparam. | Jelmer Vernooij | 1 | -1/+1 | |
2008-12-22 | Import types from other Python mechanisms using the Python import mechanism, ↵ | Jelmer Vernooij | 1 | -2/+2 | |
to ensure they are initialized. | |||||
2008-12-18 | s4:lib/socket: socket_connect_send() and socket_connect_ev() should only ↵ | Stefan Metzmacher | 1 | -1/+1 | |
wrok with addresses metze |