summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'checktalloc' into tdrJelmer Vernooij2009-03-141-0/+8
|\
| * Properly strip /usr/lib and /usr/include for the merged build.Jelmer Vernooij2009-03-141-0/+8
| |
* | Fix build of tdr from merged build.Jelmer Vernooij2009-03-141-1/+1
| |
* | Merge branch 'checktalloc' into tdrJelmer Vernooij2009-03-145-6/+180
|\|
| * Depend on a newer talloc in Samba 4.Jelmer Vernooij2009-03-141-1/+1
| |
| * Fix comment about shell in Makefile.Jelmer Vernooij2009-03-141-3/+2
| |
| * Fix fallback if system doesn't provide talloc.Jelmer Vernooij2009-03-141-1/+1
| |
| * Allow using external libtalloc.Jelmer Vernooij2009-03-143-2/+177
| |
* | Move tdr to top-level.Jelmer Vernooij2009-03-149-5/+5
|/
* Update instructions for checking out pidl.Brad Hards2009-03-101-2/+3
|
* Don't log NDR_PRINT_DEBUG at level 0, this always ends up in syslogVolker Lendecke2009-03-101-5/+5
| | | | I think we eventually need to pass down the debuglevel here.
* tevent: add tevent_req_callback_data_void() macroStefan Metzmacher2009-03-101-0/+2
| | | | | | | Callers can use it instead of tevent_req_callback_data() if they use a non talloc private pointer. metze
* tevent: add tevent_req_received() functionStefan Metzmacher2009-03-103-2/+29
| | | | | | | This function can be called as last action of a _recv() function, it destroys the data attached to the tevent_req. metze
* Fix extended operation return path.Simo Sorce2009-03-101-8/+12
| | | | | | | | Extended operations return was not going thorugh the same patch as others leaving the ctx around. Plus we were neutralizing the spy too early so that it didn't set the request_terminated flag as it should have. This should hopefully fix the failures in the build farm.
* s3:libsmb: add an option to cli_push to let the caller provide the buffersStefan Metzmacher2009-03-104-17/+43
| | | | metze
* s3:libsmb: only treat a return 0 as end of fileStefan Metzmacher2009-03-101-4/+1
| | | | metze
* s3:libsmb: fix a lot of cli_push() bugsStefan Metzmacher2009-03-101-95/+107
| | | | | | | | | | | | There were the following problems: 1.) if window_size was a multiple of the chunk_size, we silently dropped the last truncated chunk. 2.) if window_size was 0 pushed only the first chunk to the server and silently dropped the rest. 3.) we had only transferred state->num_reqs writes, even if there would be more data to send. metze
* socket_wrapper: wrap readv() and writev()Stefan Metzmacher2009-03-102-7/+137
| | | | metze
* fixed a bug in message handling for code the change notify codeAndrew Tridgell2009-03-101-2/+16
| | | | | | | | | | | | | | | | | The change notify code registered a separate message handler for each tree connect. This registration uses the global messaging context. The messaging code would consider a 2nd registration for the same messaging type as being an 'update' of the handler, rather than a new handler. It also would only call the first handler in the linked list for a given message type when dispatching messages. This patch changes the messaging code to allow for multiple registrations of the same message type, and allow for multiple calls to different messaging handler for one incoming message. This fixes the problem with the test_notify_tcon() test that I recently committed to the S4 smbtorture
* added a test that triggers a bug in the Samba3 notify codeAndrew Tridgell2009-03-101-0/+169
| | | | | | The Samba3 internal notify code doesn't work correctly when there is more than one tree connect to the same smbd process. This change to the RAW-NOTIFY test triggers the bug.
* Fix potential segfaults using freed memory.Simo Sorce2009-03-094-10/+54
| | | | | | | | | | | In some code paths ltdb_context was still referenced even after we were returned an error by one of the callbacks. Because the interface assumes that once an error is returned the ldb_request may be freed, and because the ltdb_context was allocated as a child of the request, this might cause access to freed memory. Allocate the ltdb_context on ldb, and keep track of what's going on with the request by adding a spy children on it. This way even if the request is freed before the ltdb_callback is called, we will safely free the ctx and just quietly return.
* Fix prototype mismatch.Jelmer Vernooij2009-03-091-1/+1
|
* Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij2009-03-0950-1834/+2040
|\
| * s3/packaging: Fix typo in comment.Karolin Seeger2009-03-091-1/+1
| | | | | | | | Karolin
| * s3/packaging: Package new files properly.Karolin Seeger2009-03-091-0/+6
| | | | | | | | | | | | | | That is part of the fix for bug #6144. Thanks to Diego Remolina dijuremo [at] gatech [dot] edu for reporting! Karolin
| * Fix a typoVolker Lendecke2009-03-091-1/+1
| |
| * s3:lib: interfaces.c isn't used in the configure tests anymoreStefan Metzmacher2009-03-091-73/+1
| | | | | | | | | | | | | | | | libreplace always provides the getifaddr() function. This fixes the build on sles8. metze
| * fix "dubious escape" warning of Studio compilerBjörn Jacke2009-03-091-1/+1
| |
| * socket_wrapper: try to make ipv6 support more portableStefan Metzmacher2009-03-091-9/+22
| | | | | | | | | | | | The internal structure of in6_addr isn't always the same. metze
| * socket_wrapper: downgrade ipv6 sockets to ipv4 is in connect() if the dest ↵Stefan Metzmacher2009-03-081-5/+13
| | | | | | | | | | | | | | | | is ipv4 We only do this if the socket isn't explicit bound yet. metze
| * socket_wrapper: correctly handle connected dgram socketsStefan Metzmacher2009-03-081-0/+26
| | | | | | | | metze
| * socket_wrapper: make it possible to bind to '::'Stefan Metzmacher2009-03-081-1/+3
| | | | | | | | metze
| * Don't copy the winbindd_request in wb_transVolker Lendecke2009-03-082-31/+3
| |
| * Convert wb_open_pipe to tevent_reqVolker Lendecke2009-03-081-51/+47
| |
| * Convert wb_connect to tevent_reqVolker Lendecke2009-03-081-38/+30
| |
| * Convert wb_int_trans to tevent_reqVolker Lendecke2009-03-081-69/+63
| |
| * Add parameter "queue" to wb_int_trans_sendVolker Lendecke2009-03-081-6/+7
| |
| * Move "struct req_read_state" where it belongsVolker Lendecke2009-03-081-5/+5
| |
| * Convert wb_resp_write to tevent_reqVolker Lendecke2009-03-082-18/+16
| |
| * Convert wb_resp_read to tevent_reqVolker Lendecke2009-03-083-29/+25
| |
| * Convert wb_req_read to tevent_reqVolker Lendecke2009-03-082-22/+20
| |
| * Convert wb_req_write to tevent_reqVolker Lendecke2009-03-083-32/+33
| |
| * Add tevent_req wbc helpersVolker Lendecke2009-03-082-0/+40
| |
| * Add "queue" to writev_sendVolker Lendecke2009-03-084-6/+34
| | | | | | | | | | Unless higher levels queue themselves somehow, writev will *always* be queued. So the queueing should be done at the right level.
| * Shape up pdb_search a bit by making it a talloc ctx with a destructorVolker Lendecke2009-03-0711-137/+128
| |
| * Fix a smbclient segfault against security=share serversVolker Lendecke2009-03-071-3/+10
| |
| * Fix some nonempty blank linesVolker Lendecke2009-03-071-22/+22
| |
| * s4-spoolss: just return OK for dcesrv_spoolss_EnumPrintProcDataTypes for now.Günther Deschner2009-03-072-2/+1
| | | | | | | | Guenther
| * don't rely on shebang's perl path, call our $PERL insteadBjörn Jacke2009-03-071-1/+1
| | | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
| * s3-spoolss: remove more leftovers from old enumports call.Günther Deschner2009-03-073-99/+0
| | | | | | | | Guenther