Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
samba.dcerpc.security
|
|
|
|
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.
|
|
|
|
|
|
attribute warn_unused_result. Start to fix these.
Jeremy.
|
|
|
|
replace: Fix copyright for dlfcn.c.
|
|
than python object location.
|
|
|
|
|
|
|
|
up correctly by the main configure.
|
|
|
|
|
|
|
|
GNU make.
|
|
FreeBSD has explicitly deprecated EAI_NODATA as a return value from
getaddrinfo by removing it from netdb.h. On systems that don't have
EAI_NODATA, EAI_NONAME should be used instead.
|
|
|
|
|
|
as they are required at run-time.
|
|
|
|
|
|
|
|
|
|
Jeremy.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
we're also doing so for Samba 3. This saves a significant amount of disk
space.
|
|
|
|
|
|
|
|
|
|
|
|
bit less strict when no file was specified.
|
|
Python module.
|
|
|
|
|
|
|
|
|
|
|
|
it is
not known.
|
|
to ensure they are initialized.
|
|
|
|
|