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