summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2009-03-10s3:libsmb: add an option to cli_push to let the caller provide the buffersStefan Metzmacher4-17/+43
metze
2009-03-10s3:libsmb: only treat a return 0 as end of fileStefan Metzmacher1-4/+1
metze
2009-03-10s3:libsmb: fix a lot of cli_push() bugsStefan Metzmacher1-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
2009-03-10fixed a bug in message handling for code the change notify codeAndrew Tridgell1-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
2009-03-09Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij33-1782/+1219
2009-03-09use LIB_PATH_VAR in selftest.sh if we have itBjörn Jacke1-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>
2009-03-09Fix a typoVolker Lendecke1-1/+1
2009-03-09s3:lib: interfaces.c isn't used in the configure tests anymoreStefan Metzmacher1-73/+1
libreplace always provides the getifaddr() function. This fixes the build on sles8. metze
2009-03-09fix "dubious escape" warning of Studio compilerBjörn Jacke1-1/+1
2009-03-08Don't copy the winbindd_request in wb_transVolker Lendecke2-31/+3
2009-03-08Convert wb_open_pipe to tevent_reqVolker Lendecke1-51/+47
2009-03-08Convert wb_connect to tevent_reqVolker Lendecke1-38/+30
2009-03-08Convert wb_int_trans to tevent_reqVolker Lendecke1-69/+63
2009-03-08Add parameter "queue" to wb_int_trans_sendVolker Lendecke1-6/+7
2009-03-08Move "struct req_read_state" where it belongsVolker Lendecke1-5/+5
2009-03-08Convert wb_resp_write to tevent_reqVolker Lendecke2-18/+16
2009-03-08Convert wb_resp_read to tevent_reqVolker Lendecke3-29/+25
2009-03-08Convert wb_req_read to tevent_reqVolker Lendecke2-22/+20
2009-03-08Convert wb_req_write to tevent_reqVolker Lendecke3-32/+33
2009-03-08Add tevent_req wbc helpersVolker Lendecke2-0/+40
2009-03-08Add "queue" to writev_sendVolker Lendecke2-3/+4
Unless higher levels queue themselves somehow, writev will *always* be queued. So the queueing should be done at the right level.
2009-03-08Revert accidental reintroduction of void ** bug.Jelmer Vernooij2-4/+1
2009-03-07Shape up pdb_search a bit by making it a talloc ctx with a destructorVolker Lendecke11-137/+128
2009-03-07Fix a smbclient segfault against security=share serversVolker Lendecke1-3/+10
2009-03-07Fix some nonempty blank linesVolker Lendecke1-22/+22
2009-03-07s3-spoolss: remove more leftovers from old enumports call.Günther Deschner3-99/+0
Guenther
2009-03-07s3-rpcclient: add enummonitors command to enumerate print monitors.Günther Deschner1-0/+61
Guenther
2009-03-07s3-spoolss: add rpccli_spoolss_enummonitors convenience wrapper.Günther Deschner2-0/+58
Guenther
2009-03-07s3-spoolss: remove old spoolss_EnumMonitors.Günther Deschner3-170/+0
Guenther
2009-03-07s3-spoolss: use pidl for _spoolss_EnumMonitors.Günther Deschner3-103/+112
Guenther
2009-03-07s3-rpcclient: use rpccli_spoolss_enumports wrapper.Günther Deschner1-29/+21
Guenther
2009-03-07s3-spoolss: add rpccli_spoolss_enumports convenience wrapper.Günther Deschner2-0/+58
Guenther
2009-03-07s3-spoolss: remove old spoolss_EnumPorts.Günther Deschner4-304/+0
Guenther
2009-03-07s3-spoolss: use pidl for _spoolss_EnumPorts.Günther Deschner3-125/+100
Guenther
2009-03-07s3-rpcclient: add enumprocdatatypes command to enumerate print processor dataGünther Deschner1-0/+56
types. Guenther
2009-03-07s3-spoolss: add rpccli_spoolss_enumprintprocessordatatypes convenience wrapper.Günther Deschner2-0/+62
Guenther
2009-03-07s3-spoolss: remove old spoolss_EnumPrintProcDataTypes.Günther Deschner3-132/+0
Guenther
2009-03-07s3-spoolss: use pidl for _spoolss_EnumPrintProcDataTypes.Günther Deschner3-74/+51
Guenther
2009-03-07s3-rpcclient: add enumprocs command to enumerate print processors.Günther Deschner1-0/+56
Guenther
2009-03-07s3-spoolss: add rpccli_spoolss_enumprintprocessors convenience wrapper.Günther Deschner2-0/+61
Guenther
2009-03-07s3-spoolss: remove old spoolss_EnumPrintProcessors.Günther Deschner3-132/+0
Guenther
2009-03-07s3-spoolss: use pidl for _spoolss_EnumPrintProcessors.Günther Deschner3-74/+51
Guenther
2009-03-06s3:make_test: run CHAIN1 testStefan Metzmacher1-1/+1
metze
2009-03-06s3:libsmb: merge cli_setup_signing_state() into cli_initialise_ex()Stefan Metzmacher1-27/+25
metze
2009-03-06s3:libsmb: remove cli_setup_signing_state() and add struct cli_state ↵Stefan Metzmacher4-8/+11
*cli_initialise_ex() This prepares the next changes. metze
2009-03-06s3:winbindd_cm: remove useless cli_setup_signing_state(*cli, Undefined) callStefan Metzmacher1-2/+0
cli_setup_signing_state() with Undefined is a noop. metze
2009-03-06s3:signing: the seqnum should only be decremented by 1 for ntcancel requestsStefan Metzmacher4-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
2009-03-06s3:errormap: add ECANCELED, ERRDOS/ERRbadfid, NT_STATUS_CANCELLED mappingStefan Metzmacher1-0/+3
If someone knows a better dos error, please tell me... metze
2009-03-06s3:libsmb: smb signing works the same for extented and non-extended securityStefan Metzmacher1-5/+18
This is only cosmetic, but it makes it easier to understand. metze
2009-03-06s3-spoolss: Fix Coverity ID #891 (UNINIT).Günther Deschner1-1/+1
Guenther