Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Add iconv_convenience argument to size functions. | Jelmer Vernooij | 2009-01-01 | 1 | -2/+2 | |
|/ | ||||||
* | Fix more asprintf and "ignoring return code" warnings from gcc 4.3. | Jeremy Allison | 2008-12-31 | 1 | -26/+52 | |
| | | | | Jeremy. | |||||
* | Make a CONST_DISCARD unnecessary by applying some const | Volker Lendecke | 2008-12-31 | 1 | -3/+2 | |
| | | | | Derrell, please check! | |||||
* | Attempt to fix bug 5953: Make cli_send_smb_direct_writeX use writev | Volker Lendecke | 2008-12-29 | 1 | -27/+13 | |
| | | | | | | It seems there are SMB servers around which can't cope with the write header being sent in a packet of its own. With writev we keep the advantage of direct writes, giving the kernel the chance to coalesce the write calls. | |||||
* | Add async cli_write_andx and cli_pull | Volker Lendecke | 2008-12-19 | 1 | -0/+406 | |
| | ||||||
* | Fix setting smb_len for huge write&x calls | Volker Lendecke | 2008-12-19 | 1 | -1/+14 | |
| | ||||||
* | Add the cli_wct_ofs routine to calculate the offset for write&x | Volker Lendecke | 2008-12-19 | 1 | -0/+31 | |
| | ||||||
* | Add a doxygen comment line I forgot to merge | Volker Lendecke | 2008-12-19 | 1 | -0/+1 | |
| | ||||||
* | Convert cli_request->outbuf to uint8_t | Volker Lendecke | 2008-12-19 | 1 | -13/+15 | |
| | ||||||
* | For large smbwrite&x, we need more than 64k bcc | Volker Lendecke | 2008-12-19 | 1 | -4/+4 | |
| | ||||||
* | Add some comments | Volker Lendecke | 2008-12-19 | 1 | -0/+22 | |
| | | | | | | If it takes more than 10 seconds to understand the code you've written yourself less than a year ago, it's time for comments or refactoring. I couldn't find a way to refactor that cleanly, so add comments :-) | |||||
* | Fix the padding calculation in smb_splice_chain for "bytes_padding!=0" | Volker Lendecke | 2008-12-19 | 1 | -1/+1 | |
| | ||||||
* | Pass "bytes_alignment" up through cli_request_send | Volker Lendecke | 2008-12-19 | 6 | -10/+13 | |
| | | | | This parameter makes smb_spice_chain add padding before the bytes field | |||||
* | Prefer network writes over reads | Volker Lendecke | 2008-12-19 | 1 | -32/+33 | |
| | | | | | | If we really want to keep the pipe busy, we need to write everything we have as early as possible, giving the kernel the chance to get rid of the buffers quickly :-) | |||||
* | Factor out cli_write_max_bufsize | Volker Lendecke | 2008-12-19 | 1 | -25/+36 | |
| | ||||||
* | Remove two write-only variables | Volker Lendecke | 2008-12-19 | 1 | -8/+0 | |
| | | | | If someone wants those stats, please don't use globals :-) | |||||
* | Make cli_negprot async | Volker Lendecke | 2008-12-19 | 1 | -50/+97 | |
| | ||||||
* | Make cli_negprot return NTSTATUS instead of bool | Volker Lendecke | 2008-12-19 | 4 | -21/+29 | |
| | ||||||
* | cli_negprot_send -> cli_negprot_sendsync | Volker Lendecke | 2008-12-19 | 1 | -1/+1 | |
| | ||||||
* | Fix a valgrind error | Volker Lendecke | 2008-12-17 | 1 | -1/+2 | |
| | | | | | | | | | | | Reported by naga_kishore_kommuri@yahoo.com Derrel, please check! Thanks, Volker (cherry picked from commit 3356b95f72e26ede4ab16a12c334be90b8b1a639) | |||||
* | (Fixed) Final part of fix for bug #5953 - smbclient crashes: cli_list_new ↵ | Kai Blin | 2008-12-16 | 1 | -4/+5 | |
| | | | | segmentation fault (with NAS-BASIC server). | |||||
* | Revert "Final part of fix for bug #5953 - smbclient crashes: cli_list_new ↵ | Jeremy Allison | 2008-12-16 | 1 | -24/+683 | |
| | | | | | | | | segmentation fault (with NASBASIC server)." Error in commit ! This reverts commit bbd5824140992ea457d4270ee77018ebb367abc9. | |||||
* | Final part of fix for bug #5953 - smbclient crashes: cli_list_new ↵ | Kai Blin | 2008-12-16 | 1 | -683/+24 | |
| | | | | segmentation fault (with NASBASIC server). | |||||
* | commit b520befe6f51644d20434add9864d7a2fa30aa2e | SATOH Fumiyasu | 2008-12-16 | 1 | -6/+4 | |
| | | | | | | | | | | | | | Author: SATOH Fumiyasu <fumiyas@osstech.co.jp> Date: Wed Dec 17 00:42:25 2008 +0900 libsmbclient: Fix SIGBUS on non-x86 CPUs We must align the struct smbc_dirent in the struct SMBC_internal_data because the struct smbc_dirent has numeric values that require alignment. Signed-off-by: Derrell Lipman <derrell.lipman@unwireduniverse.com> | |||||
* | Remove the global "cmdline_auth_info" from source3/lib/util.c | Volker Lendecke | 2008-12-14 | 2 | -12/+19 | |
| | | | | This involves changing all our clients, that's why it's so large. | |||||
* | Remove a pointless static variable | Volker Lendecke | 2008-12-13 | 1 | -7/+7 | |
| | | | | Every sane compiler will only allocate "*SMBSERVER" once | |||||
* | Remove a static variable | Volker Lendecke | 2008-12-13 | 1 | -6/+5 | |
| | | | | | | | | Derrell, please check! Thanks, Volker | |||||
* | Micro-Optimize cliconnect.c | Volker Lendecke | 2008-12-13 | 1 | -22/+27 | |
| | | | | | | | In this form, the prots array is fully read-only in the text segment and thus can be shared between processes. Probably pointless, but I had fun doing it :-) | |||||
* | s3:dsgetdcname: retry with the clients site | Stefan Metzmacher | 2008-12-13 | 1 | -6/+43 | |
| | | | | metze | |||||
* | s3:libsmb/namequery.c: add saf_join_store() function | Stefan Metzmacher | 2008-12-13 | 1 | -3/+65 | |
| | | | | | | | | | | | | saf_join_store() should be called after a successful domain join, the affinity to the dc used at join time has a larger ttl, to avoid problems with delayed replication. metze Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Günther Deschner <gd@samba.org> (cherry picked from commit 80e74a27c55c01221091e3eec930c2ac4433c22c) | |||||
* | s3: libsmb/namequery: fallback to returning all dcs, when none is available ↵ | Stefan Metzmacher | 2008-12-13 | 1 | -0/+9 | |
| | | | | | | | | | | | | | | in the requested site It could happen that all dcs in a site are unavailable (some sites have only one dc) and then we need to fallback to get all dcs. metze Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Günther Deschner <gd@samba.org> (cherry picked from commit c127367b1dd622eeceb1f47de0a047c297dda222) | |||||
* | For read&x replies, check the offset | Volker Lendecke | 2008-12-13 | 1 | -0/+19 | |
| | ||||||
* | Fix bug #5953 - smbclient crashes: cli_list_new segmentation fault. | Jeremy Allison | 2008-12-08 | 1 | -1/+1 | |
| | | | | Jeremy. | |||||
* | Simplify async programming a bit with helper routines | Volker Lendecke | 2008-12-08 | 4 | -21/+14 | |
| | | | | Introduce async_req_is_error() and async_req_simple_recv() | |||||
* | Add a "bytes_padding" parameter to smb_splice_chain | Volker Lendecke | 2008-12-08 | 1 | -12/+28 | |
| | | | | | For example open&x and write&x needs the bytes to be aligned relative to the SMB header. In particular for write&x we should not have to move stuff around. | |||||
* | Factor out smb_splice_chain(), to be used by chain_reply() in smbd | Volker Lendecke | 2008-12-08 | 1 | -46/+98 | |
| | ||||||
* | Slightly simplify cli_session_setup_ntlmssp | Volker Lendecke | 2008-12-07 | 1 | -10/+2 | |
| | | | | Remove three pointless variables | |||||
* | Fix for crash bug freeing a non-malloc'ed buffer if the client sends a ↵ | Volker Lendecke | 2008-12-05 | 1 | -0/+7 | |
| | | | | non-encrypted packet with the crypto state set. | |||||
* | s3: Change sockaddr util function names for consistency | Tim Prouty | 2008-12-03 | 5 | -13/+13 | |
| | | | | Also eliminates name conflicts with OneFS system libraries | |||||
* | remove the explicit mem_ctx from ntlmssp_state, use the state itself | Volker Lendecke | 2008-11-30 | 1 | -46/+41 | |
| | ||||||
* | fix nonempty blank lines | Volker Lendecke | 2008-11-30 | 1 | -27/+27 | |
| | ||||||
* | Do not build the session request if it si not used anyway | Volker Lendecke | 2008-11-30 | 1 | -4/+4 | |
| | ||||||
* | fix nonempty blank lines | Volker Lendecke | 2008-11-30 | 1 | -19/+19 | |
| | ||||||
* | Move cli_trans_oob to lib/util.c | Volker Lendecke | 2008-11-28 | 1 | -17/+4 | |
| | | | | Rename it to trans_oob, it will be used in the server routines. | |||||
* | libsmb: Fix up pointer passed to cli_send_trans in cli_link_internal | Kai Blin | 2008-11-18 | 1 | -1/+1 | |
| | ||||||
* | nterrors: add NT_STATUS_DS_BUSY. | Günther Deschner | 2008-11-10 | 1 | -0/+1 | |
| | | | | Guenther | |||||
* | s3-dsgetdcname: fix reply generation (forgot to map nt1 to nt5ex). | Günther Deschner | 2008-11-06 | 1 | -0/+2 | |
| | | | | Guenther | |||||
* | Make use of smb_bufrem() | Volker Lendecke | 2008-11-01 | 1 | -1/+1 | |
| | ||||||
* | ntlm_check.c: Sync some changes from Samba 4. | Jelmer Vernooij | 2008-11-01 | 1 | -16/+23 | |
| | ||||||
* | Use standardized types in ntlm_check.c. | Jelmer Vernooij | 2008-11-01 | 1 | -13/+13 | |
| |