summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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
* Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij2009-03-0933-1782/+1219
|\
| * 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
| |
| * 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-082-3/+4
| | | | | | | | | | 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
| |
| * s3-spoolss: remove more leftovers from old enumports call.Günther Deschner2009-03-073-99/+0
| | | | | | | | Guenther
| * s3-rpcclient: add enummonitors command to enumerate print monitors.Günther Deschner2009-03-071-0/+61
| | | | | | | | Guenther
| * s3-spoolss: add rpccli_spoolss_enummonitors convenience wrapper.Günther Deschner2009-03-072-0/+58
| | | | | | | | Guenther
| * s3-spoolss: remove old spoolss_EnumMonitors.Günther Deschner2009-03-073-170/+0
| | | | | | | | Guenther
| * s3-spoolss: use pidl for _spoolss_EnumMonitors.Günther Deschner2009-03-073-103/+112
| | | | | | | | Guenther
| * s3-rpcclient: use rpccli_spoolss_enumports wrapper.Günther Deschner2009-03-071-29/+21
| | | | | | | | Guenther
| * s3-spoolss: add rpccli_spoolss_enumports convenience wrapper.Günther Deschner2009-03-072-0/+58
| | | | | | | | Guenther
| * s3-spoolss: remove old spoolss_EnumPorts.Günther Deschner2009-03-074-304/+0
| | | | | | | | Guenther
| * s3-spoolss: use pidl for _spoolss_EnumPorts.Günther Deschner2009-03-073-125/+100
| | | | | | | | Guenther
| * s3-rpcclient: add enumprocdatatypes command to enumerate print processor dataGünther Deschner2009-03-071-0/+56
| | | | | | | | | | | | types. Guenther
| * s3-spoolss: add rpccli_spoolss_enumprintprocessordatatypes convenience wrapper.Günther Deschner2009-03-072-0/+62
| | | | | | | | Guenther
| * s3-spoolss: remove old spoolss_EnumPrintProcDataTypes.Günther Deschner2009-03-073-132/+0
| | | | | | | | Guenther
| * s3-spoolss: use pidl for _spoolss_EnumPrintProcDataTypes.Günther Deschner2009-03-073-74/+51
| | | | | | | | Guenther
| * s3-rpcclient: add enumprocs command to enumerate print processors.Günther Deschner2009-03-071-0/+56
| | | | | | | | Guenther
| * s3-spoolss: add rpccli_spoolss_enumprintprocessors convenience wrapper.Günther Deschner2009-03-072-0/+61
| | | | | | | | Guenther
| * s3-spoolss: remove old spoolss_EnumPrintProcessors.Günther Deschner2009-03-073-132/+0
| | | | | | | | Guenther
| * s3-spoolss: use pidl for _spoolss_EnumPrintProcessors.Günther Deschner2009-03-073-74/+51
| | | | | | | | Guenther
| * s3:make_test: run CHAIN1 testStefan Metzmacher2009-03-061-1/+1
| | | | | | | | metze
| * s3:libsmb: merge cli_setup_signing_state() into cli_initialise_ex()Stefan Metzmacher2009-03-061-27/+25
| | | | | | | | metze
| * s3:libsmb: remove cli_setup_signing_state() and add struct cli_state ↵Stefan Metzmacher2009-03-064-8/+11
| | | | | | | | | | | | | | | | *cli_initialise_ex() This prepares the next changes. metze
| * s3:winbindd_cm: remove useless cli_setup_signing_state(*cli, Undefined) callStefan Metzmacher2009-03-061-2/+0
| | | | | | | | | | | | cli_setup_signing_state() with Undefined is a noop. metze
| * s3:signing: the seqnum should only be decremented by 1 for ntcancel requestsStefan Metzmacher2009-03-064-8/+10
| | | | | | | | | | | | | | | | | | [MS-SMB] 3.3.5.1 Receiving Any Message says that the seqnum is incremented by only for ntcancel requests for any other request it's by incremented by 2, even if it doesn't expect a response. metze
| * s3:errormap: add ECANCELED, ERRDOS/ERRbadfid, NT_STATUS_CANCELLED mappingStefan Metzmacher2009-03-061-0/+3
| | | | | | | | | | | | If someone knows a better dos error, please tell me... metze
| * s3:libsmb: smb signing works the same for extented and non-extended securityStefan Metzmacher2009-03-061-5/+18
| | | | | | | | | | | | This is only cosmetic, but it makes it easier to understand. metze
* | use LIB_PATH_VAR in selftest.sh if we have itBjörn Jacke2009-03-091-6/+7
| | | | | | | | | | | | | | if we have LIB_PATH_VAR we should use it, otherwise we'll unobtrusively complain about not having it and use the most likely LD_LIBRARY_PATH. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* | Revert accidental reintroduction of void ** bug.Jelmer Vernooij2009-03-082-4/+1
|/
* s3-spoolss: Fix Coverity ID #891 (UNINIT).Günther Deschner2009-03-061-1/+1
| | | | Guenther