Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2008-12-26 | Try to fix the build by fixing some typos in the vfs code | Kai Blin | 1 | -3/+3 | |
2008-12-25 | Fix bug #5990 - strict allocate should be checked before ftruncate | Jeremy Allison | 1 | -0/+14 | |
reported by and based on a patch by Yasuma Takeda <yasuma@osstech.co.jp>. Jeremy. | |||||
2008-12-25 | s3:idmap: Remove passd check from idmap_backends_unixid_to_sid(). | Michael Adam | 1 | -9/+0 | |
As noted by Metzy, it makes no sense here to check id->sid. What is worse, this might even be passed in uninitialized. This still fixes the bug for me (of course), but we might need to check, if another special handling of passdb is needed (possibly changing from constant return code NT_STATUS_OK...) Michael Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2008-12-25 | s:Fix uid_to_sid mapping when the idmap cache is empty. | Michael Adam | 1 | -8/+7 | |
This failed for backends other than passed, since idmap_backends_unixid_to_sid() always asked passdb first, which returned Success no matter whether a mapping was found or not. One effect wast that getpwuid failed after "net cache flush". Only after filling the cache with a getpwnam call it succeeded. This fix makes the behaviour of idmap_backends_unixid_to_sid() exactly the same as that of idmap_backends_sid_to_unixid() Michael Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2008-12-23 | Fix use of "time offset" parameter, and add test to make sure I don't break ↵ | Jelmer Vernooij | 2 | -4/+0 | |
it again :-) | |||||
2008-12-23 | Fix more asprintf warnings and some error path errors. | Jeremy Allison | 7 | -30/+44 | |
Jeremy. | |||||
2008-12-23 | More asprintf warning fixes. | Jeremy Allison | 3 | -8/+28 | |
Jeremy. | |||||
2008-12-23 | More asprintf warning fixes. | Jeremy Allison | 2 | -13/+21 | |
Jeremy. | |||||
2008-12-23 | Fix more asprintf errors and error code paths. | Jeremy Allison | 3 | -12/+36 | |
Jeremy. | |||||
2008-12-23 | Fix more ‘asprintf’, declared with attribute warn_unused_result. | Jeremy Allison | 2 | -11/+18 | |
Jeremy. | |||||
2008-12-23 | Fix more "warning: ignoring return value of ‘asprintf’, declared with | Jeremy Allison | 1 | -23/+62 | |
attribute warn_unused_result" Jeremy. | |||||
2008-12-23 | Fix another "format not a string literal and no format arguments" warning. | Jeremy Allison | 1 | -2/+5 | |
Jeremy | |||||
2008-12-23 | s3: Fix stream marshalling to return the correct streaminfo status | Tim Prouty | 1 | -10/+1 | |
When there are enough streams on a file to fill up the max_data_count when responding to a trans2 streaminfo, samba is returning NT_STATUS_BUFFER_TOO_SMALL. Windows handles this by returning NT_STATUS_BUFFER_OVERFLOW while still sending as much of the data that it can fit into the buffer. When the windows client sees BUFFER_OVERFLOW, it retries the streaminfo with a larger buffer (2x). The windows client starts at 2K and will continue increasing the buffer size by two until it reaches 64K. If the streams don't fit in 64K the windows client seems to give up. This patch fixes marshall_stream_info to overfill the buffer by 1 stream so that send_trans2_replies can properly detect the overflow and return the correct status. | |||||
2008-12-22 | In gcc version 4.3.2 we get warnings for functions declared with | Jeremy Allison | 1 | -2/+1 | |
attribute warn_unused_result. Start to fix these. Jeremy. | |||||
2008-12-23 | Merge branch 'master' of ssh://git.samba.org/data/git/samba | Jelmer Vernooij | 1 | -3/+0 | |
2008-12-23 | merged build: Remove shared-build related variables, as they are already set ↵ | Jelmer Vernooij | 1 | -3/+0 | |
up correctly by the main configure. | |||||
2008-12-23 | Use make variable for Samba 4 shared library output directory. | Jelmer Vernooij | 2 | -6/+5 | |
2008-12-22 | Force symbolic links for shared library sonames to be created, | Jelmer Vernooij | 1 | -1/+1 | |
as they are required at run-time. | |||||
2008-12-22 | Merge branch 'master' of ssh://git.samba.org/data/git/samba | Jelmer Vernooij | 1 | -2/+11 | |
2008-12-22 | Fix "allow trusted domain" so it disables trusted domains. | Gerald (Jerry) Carter | 1 | -2/+11 | |
2008-12-22 | Set right LD_LIBRARY_PATH for finding Samba4's libraries. | Jelmer Vernooij | 1 | -8/+8 | |
2008-12-22 | Build samba 4 plugins in merged build. | Jelmer Vernooij | 1 | -1/+2 | |
2008-12-22 | merged build: Build Samba 4 using shared libraries internally, when | Jelmer Vernooij | 1 | -1/+1 | |
we're also doing so for Samba 3. This saves a significant amount of disk space. | |||||
2008-12-22 | merged build: Remove SWIG checks, set flags for shared Samba 4 build. | Jelmer Vernooij | 1 | -6/+14 | |
2008-12-21 | s3:loadparm/docs: Set default for "ldap ssl" to "start tls". | root | 1 | -1/+1 | |
This has been discussed on samba-technical before. 3.3 and newer only! Karolin | |||||
2008-12-21 | s3: loadparm: Clean-up list of parameters. | Karolin Seeger | 1 | -8/+1 | |
We don't need to list several combinations of lowercase and uppercase here. Karolin | |||||
2008-12-19 | Extend the chain1 test with write&x | Volker Lendecke | 1 | -2/+21 | |
2008-12-19 | Add a torture test simulating Windows write behaviour | Volker Lendecke | 1 | -1/+81 | |
Jeremy, enjoy :-) | |||||
2008-12-19 | Make smbclient "put" use cli_push | Volker Lendecke | 1 | -37/+31 | |
This should fill the TCP socket even beyond the smbclient io_bufsize, very much like smbclient "get" should do it since 3.2 | |||||
2008-12-19 | Add async cli_write_andx and cli_pull | Volker Lendecke | 2 | -0/+425 | |
2008-12-19 | Fix bug #5986 - Editing a stream is broken (rename problems). | Jeremy Allison | 2 | -11/+14 | |
Jeremy. | |||||
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 | 2 | -0/+33 | |
2008-12-19 | Remove the direct inbuf reference from construct_reply_common() | Volker Lendecke | 2 | -10/+11 | |
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 | 2 | -15/+17 | |
2008-12-19 | For large smbwrite&x, we need more than 64k bcc | Volker Lendecke | 2 | -6/+6 | |
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 | 7 | -10/+14 | |
This parameter makes smb_spice_chain add padding before the bytes field | |||||
2008-12-19 | Fix a "ignoring function call result" warning | Volker Lendecke | 1 | -1/+6 | |
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 | Move some bytes from data to text, make use of the ARRAY_SIZE macro | Volker Lendecke | 1 | -2/+2 | |
Probably pointless, but it doesn't add complexity and it is fun to see bss and data shrink :-) | |||||
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 | 2 | -50/+101 | |
2008-12-19 | Make cli_negprot return NTSTATUS instead of bool | Volker Lendecke | 13 | -42/+69 | |
2008-12-19 | cli_negprot_send -> cli_negprot_sendsync | Volker Lendecke | 3 | -3/+3 | |
2008-12-18 | Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba | Jeremy Allison | 122 | -429/+28822 | |
2008-12-18 | Comment out the parent inheritance code (this is incorrect) as was | Jeremy Allison | 2 | -0/+4 | |
done for POSIX ACLs. Jeremy. |