Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-11-09 | s3:libsmb: consistently use state->size in cli_write_andx_create() (bug #5326) | Stefan Metzmacher | 1 | -1/+1 | |
Otherwise we may get unexpected results. This is a fix that was missing in commit 95595dd93fd04999fcf56ecaab7c29b064d021f8 (s3:libsmb: fix cli_write_and_x() against OS/2 print shares (bug #5326)) metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Nov 9 10:13:32 CET 2011 on sn-devel-104 | |||||
2011-11-08 | s3:libsmb: fix cli_write_and_x() against OS/2 print shares (bug #5326) | Stefan Metzmacher | 1 | -4/+15 | |
Print shares doesn't support CAP_LARGE_WRITEX, while it's negotiated by the file server part. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Nov 8 17:01:36 CET 2011 on sn-devel-104 | |||||
2011-09-21 | s3: Further fix for bug 8338 | Volker Lendecke | 1 | -2/+9 | |
OS/X can not deal with a 10-vwv read on normal files. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Sep 21 00:51:08 CEST 2011 on sn-devel-104 | |||||
2011-09-15 | s3:libsmb: s/cli_encryption_on/cli_state_encryption_on() | Stefan Metzmacher | 1 | -2/+2 | |
metze | |||||
2011-09-14 | s3:libsmb: align chunk_size for cli_pull/push() to a page size of 1024 bytes | Stefan Metzmacher | 1 | -0/+8 | |
s3:libsmb: align chunk_size for cli_pull/push() to a page size of 1024 bytes metze Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2011-09-14 | s3:libsmb: let cli_write_max_bufsize() return the max number of possible bytes | Stefan Metzmacher | 1 | -21/+28 | |
s3:libsmb: let cli_write_max_bufsize() return the max number of possible bytes We now return what's possible on the wire. Which is 0x1FFFF - data_offset if CAP_LARGE_WRITEX is given by the server (without signing) or 0xFFFFFF - data_offset if CIFS_UNIX_LARGE_READ_CAP is available (without signing/sealing). Otherwise we return max_xmit - data_offset. metze Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2011-09-14 | s3:libsmb: let cli_read_max_bufsize() return the max number of possible bytes | Stefan Metzmacher | 1 | -16/+31 | |
s3:libsmb: let cli_read_max_bufsize() return the max number of possible bytes We now return what's possible on the wire. Which is 0xFFFF if CAP_LARGE_READX is given by the server or 0xFFFFFF - data_offset if CIFS_UNIX_LARGE_READ_CAP is available (without signing/sealing). Otherwise we return max_xmit - data_offset. metze Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2011-09-13 | s3:libsmb: make use of cli_state_max_requests() in cli_push_send() | Stefan Metzmacher | 1 | -2/+5 | |
metze | |||||
2011-09-13 | s3:libsmb: make use of cli_state_max_requests() in cli_pull_send() | Stefan Metzmacher | 1 | -1/+4 | |
metze | |||||
2011-09-13 | s3:libsmb: make use of cli_state_available_size() in cli_smbwrite() | Stefan Metzmacher | 1 | -1/+2 | |
metze | |||||
2011-09-13 | s3:libsmb: make use of cli_state_available_size() in cli_write_max_bufsize() | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2011-09-13 | s3:libsmb: make use of cli_state_available_size() in cli_read_max_bufsize() | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2011-08-02 | s3:libsmb/cli*: make use of cli_state_capabilities() | Stefan Metzmacher | 1 | -4/+4 | |
metze | |||||
2011-07-23 | s3-libsmb: finally remove cli_read_old() | Björn Baumbach | 1 | -14/+0 | |
Replaced by new cli_read() which returns NTSTATUS instead of ssize_t. Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-07-20 | s3-libsmb: introduce new NTSTATUS cli_read() | Björn Baumbach | 1 | -0/+20 | |
Replacement for cli_read_old() Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-07-20 | s3-libsmb: replace cli_read() with cli_read_old() | Björn Baumbach | 1 | -1/+1 | |
Will introduce new cli_read() function. Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-07-03 | s3: Allow NULL for arg pwritten in cli_write_andx | Volker Lendecke | 1 | -1/+3 | |
2011-06-10 | s3:libsmb/clireadwrite: calculate cli_write_max_bufsize() correct based on ↵ | Stefan Metzmacher | 1 | -8/+12 | |
max_xmit This is important in order to support DCERPC over ncacn_np against NT4 servers, where max_xmit is just 4356. metze | |||||
2011-06-10 | s3:libsmb/clireadwrite: calculate cli_read_max_bufsize() correct based on ↵ | Stefan Metzmacher | 1 | -1/+12 | |
max_xmit This is important in order to support DCERPC over ncacn_np against NT4 servers, where max_xmit is just 4356. metze | |||||
2011-06-09 | s3-talloc Change TALLOC_ZERO_ARRAY() to talloc_zero_array() | Andrew Bartlett | 1 | -2/+2 | |
Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_ARRAY isn't standard talloc. | |||||
2011-06-09 | s3-talloc Change TALLOC_ARRAY() to talloc_array() | Andrew Bartlett | 1 | -1/+1 | |
Using the standard macro makes it easier to move code into common, as TALLOC_ARRAY isn't standard talloc. | |||||
2011-06-09 | s3-talloc Change TALLOC_REALLOC_ARRAY() to talloc_realloc() | Andrew Bartlett | 1 | -1/+1 | |
Using the standard macro makes it easier to move code into common, as TALLOC_REALLOC_ARRAY isn't standard talloc. Andrew Bartlett | |||||
2011-05-19 | s3: Do central cli_set_error | Volker Lendecke | 1 | -10/+0 | |
2011-05-06 | s3-libsmb: move protos to libsmb/proto.h | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-05-05 | More const fixes for compiler warnings from the waf build. | Jeremy Allison | 1 | -2/+2 | |
2011-04-29 | s3-tevent: only include ../lib/util/tevent wrappers where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Apr 29 14:00:30 CEST 2011 on sn-devel-104 | |||||
2011-04-26 | s3: Remove cli_write | Volker Lendecke | 1 | -158/+0 | |
Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2011-04-26 | s3: Add cli_writeall | Volker Lendecke | 1 | -3/+51 | |
Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2011-04-16 | s3: Use tevent_req_nterror properly in a few places | Volker Lendecke | 1 | -12/+6 | |
2011-03-30 | s3-trans2: only include trans2.h where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-03-27 | s3: Remove a use of cli_send_smb | Volker Lendecke | 1 | -36/+47 | |
2010-11-11 | Fix bug #7791 - gvfsd-smb (Gnome vfs) fails to copy files from a SMB share ↵ | Jeremy Allison | 1 | -5/+2 | |
using SMB signing. The underlying problem is that the old code invoked by cli_write() increments cli->mid directly when issuing outstanding writes. This should now be done only in libsmb/clientgen.c to make metze's new signing engine works correctly. Just deleting this code fixes the problem. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Nov 11 02:50:08 UTC 2010 on sn-devel-104 | |||||
2010-09-20 | s3-build: only include async headers where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-05-09 | s3-libsmb: fix argument order for tevent_req_default_print in cli_pull_print(). | Günther Deschner | 1 | -1/+1 | |
Andreas, please check. Guenther | |||||
2010-05-05 | s3-libsmb: Fixed a recursion in cli_pull_print. | Andreas Schneider | 1 | -1/+1 | |
2010-04-13 | Split out the client unix capabilities to those the server offered, and ↵ | Jeremy Allison | 1 | -2/+2 | |
those the client asked for. This fixes a bug when using encrypted transport and DFS links. Found by my basic DFS torture test, which I'll check in next. Testing *rocks* :-). Jeremy. | |||||
2010-02-22 | s3: Explicitly handle inbuf in cli_write_andx_done | Volker Lendecke | 1 | -2/+4 | |
2010-02-22 | s3: Explicitly handle inbuf in cli_read_andx_done | Volker Lendecke | 1 | -2/+2 | |
2010-02-22 | s3: Add a talloc_move for the inbuf to cli_smb_recv | Volker Lendecke | 1 | -3/+3 | |
2010-01-26 | s3: remove unused variable | Björn Jacke | 1 | -2/+0 | |
2009-09-14 | Second part of bug fix for 6606. | Volker Lendecke | 1 | -0/+6 | |
s3:libsmb: Fix bug 6606 -- short reads in smbclient were not handled | |||||
2009-09-14 | s3:libsmb: Fix bug 6606 -- short reads in smbclient were not handled | Volker Lendecke | 1 | -4/+118 | |
2009-09-05 | s3:libsmb: Convert (state->received) to (state->received != 0) | Volker Lendecke | 1 | -1/+1 | |
This confused me for a second, this should not happen a second time :-) | |||||
2009-08-19 | Fix Red Hat bugzilla bug : https://bugzilla.redhat.com/show_bug.cgi?id=516165 | Jeremy Allison | 1 | -1/+1 | |
nautilus fails to copy files from an SMB share. This is a show-stopper for 3.4.1 (I'll open a Samba.org bug). Although gnome-vfs is doing *incredibly* stupid things by asking for a read size of 65535 - this translates on the wire to a 65534 byte read followed by a 1 byte read. Please send this back to the gnome developers that they will ge horrid on the wire performance for this. Jeremy. | |||||
2009-05-13 | s3: return proper error code in cli_smb_req_send | Bo Yang | 1 | -4/+16 | |
Signed-off-by: Bo Yang <boyang@samba.org> | |||||
2009-05-12 | Clean up assignments to iov_base, ensure it's always cast to void *. This ↵ | Jeremy Allison | 1 | -2/+2 | |
should quieten some warnings with picky compilers on the buildfarm. Jeremy. | |||||
2009-04-30 | Get medieval on our ass about SMB1 file descriptors being 16 bits, not an int. | Jeremy Allison | 1 | -6/+6 | |
Convert all uses of cli_open(), cli_nt_createXXX to NTSTATUS versions. This is smaller than it looks, it just fixes a lot of old code. Next up, ensure all cli_XX functions return NTSTATUS. Jeremy. | |||||
2009-04-08 | Convert cli_push to tevent_req | Volker Lendecke | 1 | -69/+58 | |
Metze, please check! Thanks, Volker | |||||
2009-04-08 | Convert cli_pull to tevent_req | Volker Lendecke | 1 | -45/+40 | |
2009-04-06 | Streamline cli_push sync wrapper | Volker Lendecke | 1 | -9/+18 | |