Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-01-16 | s3: put netsamlogon_cache.tdb into cache_dir instead of lock_dir | Michael Adam | 1 | -1/+1 | |
Michael | |||||
2009-01-15 | s3: make better use of ccache by not including version.h in every C-file. | Michael Adam | 2 | -2/+2 | |
version.h changes rather frequently. Since it is included via includes.h, this means each C file will be a cache miss. This applies to the following situations: * When building a new package with a new Samba version * building in a git branch after calling mkversion.sh after a new commit (i.e. virtually always) This patch improves the situation in the following way: * remove inlude "version.h" from includes.h * Use samba_version_string() instead of SAMBA_VERSION_STRING in files that use no other macro from version.h instead of SAMBA_VERSION_STRING. * explicitly include "version.h" in those files that use more macros from "version.h" than just SAMBA_VERSION_STRING. Michael | |||||
2009-01-14 | Remove smbclient globals that bled into clidfs.c. Now we only have | Jeremy Allison | 3 | -35/+30 | |
the connections list and authentication structures to worry about. Jeremy | |||||
2009-01-14 | Remove another global from clidfs that is only used in client.c. | Jeremy Allison | 1 | -11/+16 | |
Jeremy. | |||||
2009-01-12 | s3:libsmb: handle the smb signing states the same in the krb5 and ntlmssp cases | Stefan Metzmacher | 1 | -16/+35 | |
SMB signing works the same regardless of the used auth mech. We need to start with the temp signing ("BSRSPYL ") and the session setup response with NT_STATUS_OK is the first signed packet. Now we set the krb5 session key if we got the NT_STATUS_OK from the server and then recheck the packet. All this is needed to make the fallback from krb5 to ntlmssp possible. This commit also resets the cli->vuid value to 0, if the krb5 auth didn't succeed. Otherwise the server handles NTLMSSP packets as krb5 packets. The restructuring of the SMB signing code is needed to make sure the krb5 code only starts the signing engine on success. Otherwise the NTLMSSP fallback could not initialize the signing engine (again). metze | |||||
2009-01-11 | Move cli_api_pipe() to its only user cli_pipe.c | Volker Lendecke | 1 | -23/+0 | |
2009-01-08 | Fix bug #6021 - smbclient du command does not recuse properly | Jeremy Allison | 1 | -1/+2 | |
Jeremy. | |||||
2009-01-04 | Merge branch 'master' of ssh://git.samba.org/data/git/samba | Jelmer Vernooij | 5 | -54/+118 | |
2009-01-04 | Simulate the Windows behaviour to fire 445 and after a timeout 139 | Volker Lendecke | 1 | -14/+76 | |
2009-01-04 | Async wrapper for open_socket_out_send/recv | Volker Lendecke | 1 | -8/+15 | |
2009-01-03 | open_socket_out is always used with SOCK_STREAM, remove argument "type" | Volker Lendecke | 1 | -7/+5 | |
2009-01-03 | struct async_req doesn't really need to carry an event_context | Volker Lendecke | 2 | -6/+6 | |
2009-01-02 | Remove cli_cm_set_dest_ss() - removes the global dest_ss | Jeremy Allison | 1 | -15/+5 | |
from libsmb/clidfs.c. Keep the '-I<address>' option in smbclient working. The intent is to remove all globals from libsmb/clidfs.c. Jeremy. | |||||
2009-01-01 | Remove a global variable | Volker Lendecke | 1 | -13/+20 | |
2009-01-01 | fix some nonempty blank lines | Volker Lendecke | 1 | -5/+5 | |
2009-01-01 | Add iconv_convenience argument to size functions. | Jelmer Vernooij | 1 | -2/+2 | |
2008-12-31 | Fix more asprintf and "ignoring return code" warnings from gcc 4.3. | Jeremy Allison | 1 | -26/+52 | |
Jeremy. | |||||
2008-12-31 | Make a CONST_DISCARD unnecessary by applying some const | Volker Lendecke | 1 | -3/+2 | |
Derrell, please check! | |||||
2008-12-29 | Attempt to fix bug 5953: Make cli_send_smb_direct_writeX use writev | Volker Lendecke | 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. | |||||
2008-12-19 | Add async cli_write_andx and cli_pull | Volker Lendecke | 1 | -0/+406 | |
2008-12-19 | Fix setting smb_len for huge write&x calls | Volker Lendecke | 1 | -1/+14 | |
2008-12-19 | Add the cli_wct_ofs routine to calculate the offset for write&x | Volker Lendecke | 1 | -0/+31 | |
2008-12-19 | Add a doxygen comment line I forgot to merge | Volker Lendecke | 1 | -0/+1 | |
2008-12-19 | Convert cli_request->outbuf to uint8_t | Volker Lendecke | 1 | -13/+15 | |
2008-12-19 | For large smbwrite&x, we need more than 64k bcc | Volker Lendecke | 1 | -4/+4 | |
2008-12-19 | Add some comments | Volker Lendecke | 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 :-) | |||||
2008-12-19 | Fix the padding calculation in smb_splice_chain for "bytes_padding!=0" | Volker Lendecke | 1 | -1/+1 | |
2008-12-19 | Pass "bytes_alignment" up through cli_request_send | Volker Lendecke | 6 | -10/+13 | |
This parameter makes smb_spice_chain add padding before the bytes field | |||||
2008-12-19 | Prefer network writes over reads | Volker Lendecke | 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 :-) | |||||
2008-12-19 | Factor out cli_write_max_bufsize | Volker Lendecke | 1 | -25/+36 | |
2008-12-19 | Remove two write-only variables | Volker Lendecke | 1 | -8/+0 | |
If someone wants those stats, please don't use globals :-) | |||||
2008-12-19 | Make cli_negprot async | Volker Lendecke | 1 | -50/+97 | |
2008-12-19 | Make cli_negprot return NTSTATUS instead of bool | Volker Lendecke | 4 | -21/+29 | |
2008-12-19 | cli_negprot_send -> cli_negprot_sendsync | Volker Lendecke | 1 | -1/+1 | |
2008-12-17 | Fix a valgrind error | Volker Lendecke | 1 | -1/+2 | |
Reported by naga_kishore_kommuri@yahoo.com Derrel, please check! Thanks, Volker (cherry picked from commit 3356b95f72e26ede4ab16a12c334be90b8b1a639) | |||||
2008-12-16 | (Fixed) Final part of fix for bug #5953 - smbclient crashes: cli_list_new ↵ | Kai Blin | 1 | -4/+5 | |
segmentation fault (with NAS-BASIC server). | |||||
2008-12-16 | Revert "Final part of fix for bug #5953 - smbclient crashes: cli_list_new ↵ | Jeremy Allison | 1 | -24/+683 | |
segmentation fault (with NASBASIC server)." Error in commit ! This reverts commit bbd5824140992ea457d4270ee77018ebb367abc9. | |||||
2008-12-16 | Final part of fix for bug #5953 - smbclient crashes: cli_list_new ↵ | Kai Blin | 1 | -683/+24 | |
segmentation fault (with NASBASIC server). | |||||
2008-12-16 | commit b520befe6f51644d20434add9864d7a2fa30aa2e | SATOH Fumiyasu | 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> | |||||
2008-12-14 | Remove the global "cmdline_auth_info" from source3/lib/util.c | Volker Lendecke | 2 | -12/+19 | |
This involves changing all our clients, that's why it's so large. | |||||
2008-12-13 | Remove a pointless static variable | Volker Lendecke | 1 | -7/+7 | |
Every sane compiler will only allocate "*SMBSERVER" once | |||||
2008-12-13 | Remove a static variable | Volker Lendecke | 1 | -6/+5 | |
Derrell, please check! Thanks, Volker | |||||
2008-12-13 | Micro-Optimize cliconnect.c | Volker Lendecke | 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 :-) | |||||
2008-12-13 | s3:dsgetdcname: retry with the clients site | Stefan Metzmacher | 1 | -6/+43 | |
metze | |||||
2008-12-13 | s3:libsmb/namequery.c: add saf_join_store() function | Stefan Metzmacher | 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) | |||||
2008-12-13 | s3: libsmb/namequery: fallback to returning all dcs, when none is available ↵ | Stefan Metzmacher | 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) | |||||
2008-12-13 | For read&x replies, check the offset | Volker Lendecke | 1 | -0/+19 | |
2008-12-08 | Fix bug #5953 - smbclient crashes: cli_list_new segmentation fault. | Jeremy Allison | 1 | -1/+1 | |
Jeremy. | |||||
2008-12-08 | Simplify async programming a bit with helper routines | Volker Lendecke | 4 | -21/+14 | |
Introduce async_req_is_error() and async_req_simple_recv() | |||||
2008-12-08 | Add a "bytes_padding" parameter to smb_splice_chain | Volker Lendecke | 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. |