summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix more asprintf warnings and some error path errors.Jeremy Allison2008-12-237-30/+44
| | | | Jeremy.
* More asprintf warning fixes.Jeremy Allison2008-12-233-8/+28
| | | | Jeremy.
* More asprintf warning fixes.Jeremy Allison2008-12-232-13/+21
| | | | Jeremy.
* Fix more asprintf errors and error code paths.Jeremy Allison2008-12-233-12/+36
| | | | Jeremy.
* Fix more ‘asprintf’, declared with attribute warn_unused_result.Jeremy Allison2008-12-232-11/+18
| | | | Jeremy.
* Fix more "warning: ignoring return value of ‘asprintf’, declared withJeremy Allison2008-12-231-23/+62
| | | | | attribute warn_unused_result" Jeremy.
* Fix another "format not a string literal and no format arguments" warning.Jeremy Allison2008-12-231-2/+5
| | | | Jeremy
* s3: Fix stream marshalling to return the correct streaminfo statusTim Prouty2008-12-231-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.
* In gcc version 4.3.2 we get warnings for functions declared withJeremy Allison2008-12-221-2/+1
| | | | | attribute warn_unused_result. Start to fix these. Jeremy.
* Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij2008-12-231-3/+0
|\
| * merged build: Remove shared-build related variables, as they are already set ↵Jelmer Vernooij2008-12-231-3/+0
| | | | | | | | up correctly by the main configure.
* | Use make variable for Samba 4 shared library output directory.Jelmer Vernooij2008-12-232-6/+5
|/
* Force symbolic links for shared library sonames to be created,Jelmer Vernooij2008-12-221-1/+1
| | | | as they are required at run-time.
* Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij2008-12-221-2/+11
|\
| * Fix "allow trusted domain" so it disables trusted domains.Gerald (Jerry) Carter2008-12-221-2/+11
| |
* | Set right LD_LIBRARY_PATH for finding Samba4's libraries.Jelmer Vernooij2008-12-221-8/+8
| |
* | Build samba 4 plugins in merged build.Jelmer Vernooij2008-12-221-1/+2
|/
* merged build: Build Samba 4 using shared libraries internally, whenJelmer Vernooij2008-12-221-1/+1
| | | | | we're also doing so for Samba 3. This saves a significant amount of disk space.
* merged build: Remove SWIG checks, set flags for shared Samba 4 build.Jelmer Vernooij2008-12-221-6/+14
|
* s3:loadparm/docs: Set default for "ldap ssl" to "start tls".root2008-12-211-1/+1
| | | | | | | This has been discussed on samba-technical before. 3.3 and newer only! Karolin
* s3: loadparm: Clean-up list of parameters.Karolin Seeger2008-12-211-8/+1
| | | | | | We don't need to list several combinations of lowercase and uppercase here. Karolin
* Extend the chain1 test with write&xVolker Lendecke2008-12-191-2/+21
|
* Add a torture test simulating Windows write behaviourVolker Lendecke2008-12-191-1/+81
| | | | Jeremy, enjoy :-)
* Make smbclient "put" use cli_pushVolker Lendecke2008-12-191-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
* Add async cli_write_andx and cli_pullVolker Lendecke2008-12-192-0/+425
|
* Fix bug #5986 - Editing a stream is broken (rename problems).Jeremy Allison2008-12-192-11/+14
| | | | Jeremy.
* Fix setting smb_len for huge write&x callsVolker Lendecke2008-12-191-1/+14
|
* Add the cli_wct_ofs routine to calculate the offset for write&xVolker Lendecke2008-12-192-0/+33
|
* Remove the direct inbuf reference from construct_reply_common()Volker Lendecke2008-12-192-10/+11
|
* Add a doxygen comment line I forgot to mergeVolker Lendecke2008-12-191-0/+1
|
* Convert cli_request->outbuf to uint8_tVolker Lendecke2008-12-192-15/+17
|
* For large smbwrite&x, we need more than 64k bccVolker Lendecke2008-12-192-6/+6
|
* Add some commentsVolker Lendecke2008-12-191-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 Lendecke2008-12-191-1/+1
|
* Pass "bytes_alignment" up through cli_request_sendVolker Lendecke2008-12-197-10/+14
| | | | This parameter makes smb_spice_chain add padding before the bytes field
* Fix a "ignoring function call result" warningVolker Lendecke2008-12-191-1/+6
|
* Prefer network writes over readsVolker Lendecke2008-12-191-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 :-)
* Move some bytes from data to text, make use of the ARRAY_SIZE macroVolker Lendecke2008-12-191-2/+2
| | | | | Probably pointless, but it doesn't add complexity and it is fun to see bss and data shrink :-)
* Factor out cli_write_max_bufsizeVolker Lendecke2008-12-191-25/+36
|
* Remove two write-only variablesVolker Lendecke2008-12-191-8/+0
| | | | If someone wants those stats, please don't use globals :-)
* Make cli_negprot asyncVolker Lendecke2008-12-192-50/+101
|
* Make cli_negprot return NTSTATUS instead of boolVolker Lendecke2008-12-1913-42/+69
|
* cli_negprot_send -> cli_negprot_sendsyncVolker Lendecke2008-12-193-3/+3
|
* Merge branch 'master' of ssh://jra@git.samba.org/data/git/sambaJeremy Allison2008-12-18122-429/+28822
|\
| * Fix bug #5980 - Race condition when granting level2 oplocks can cause break ↵Jeremy Allison2008-12-181-4/+27
| | | | | | | | | | | | notify to be missed. Jeremy.
| * s3: Add statvfs implementation to the onefs vfs moduleAravind Srinivasan2008-12-171-0/+28
| |
| * Fix bug #5979 - Level 2 oplocks being granted improperly,Jeremy Allison2008-12-173-71/+124
| | | | | | | | Jeremy.
| * s3-ntsvcs: remove last traces of hand-marshalled NTSVCS.Günther Deschner2008-12-177-208/+4
| | | | | | | | Guenther
| * s3-ntsvcs: remove old _PNP_GetDeviceList.Günther Deschner2008-12-173-72/+0
| | | | | | | | Guenther
| * s3-ntsvcs: use pidl for _PNP_GetDeviceList.Günther Deschner2008-12-172-39/+30
| | | | | | | | Guenther