Age | Commit message (Collapse) | Author | Files | Lines |
|
When alignment was in place, we pretended to send more data/params according to
the param_offset/param_length and data_offset/data_length parameters than would
actually fit into the SMB according to the NBSS length field.
(This used to be commit ef3c132b8455c6fe4d0bb9f0be881040a806a4ed)
|
|
(This used to be commit dbe7a61be2beac50d1665e38ac374cefbbabec00)
|
|
(This used to be commit b62540cd48212a80c8cb4a264f740591a0229944)
|
|
- only the first non truncating write causes
the write time update with 2 seconds delay.
It's not enough to check for an existing update event
as it will be NULL after the event was triggered.
- SMBwrite truncates always update the write time
unless the sticky write time is set.
- SMBwrite truncates don't trigger a write time update on close.
metze
(This used to be commit 3d17089b6dc773303c8c553f3f6140e60e348fb7)
|
|
(This used to be commit 564bfe94ac87c918482ade65980270326dc8ed6d)
|
|
Michael
(cherry picked from commit 423105e29aaef449dbc40d124900a3f654b7266b)
(This used to be commit 4bebce268a430a537215b46947e37a8b0225e49d)
|
|
Michael
(cherry picked from commit 1bfc8cc575cd84f24ceb6f6c5d13c9171c0895a5)
(This used to be commit 5354e420677eacd62a5297bc38d62cd6b53642b5)
|
|
Michael
(cherry picked from commit e051c1cbf7a993e3885c4a515e516da3574a1f57)
(This used to be commit 68ec025d06058bcd1c7050ee5d8f7232a3eb901a)
|
|
Generate version.h first.
Create samba.spec from (new) samba.spec.tmpl, replacing PVERSION
by the version string. (as is done with update-pkginfo called
from the create-tarball release script)
Michael
(This used to be commit f1f3d1bef0440f4294f7278c0c38e13a10b6fb48)
|
|
Michael
(cherry picked from commit 74e335ebf210c4812b0f790d05b697a183803af7)
(This used to be commit c6ff392778a75cc74db880fa3d657f5879ae55d5)
|
|
Michael
(cherry picked from commit ac2b09b2274a12c34c446c4536793a33515958cc)
(This used to be commit cbfd805bd25a23299ef770687370dafebefe58d1)
|
|
Michael
(cherry picked from commit d8a8ea87439315ecf407a866a12e2993343af39c)
(This used to be commit ab7575f5d29576518bd5593ec5bd58846b85d23d)
|
|
Guenther
(This used to be commit fc1b04df78fc0fb5bc59fa0120c0e29bbb3978a1)
|
|
Guenther
(This used to be commit 07cf13e43d03803a5f039fa6df3c9a35c701d43a)
|
|
Guenther
(This used to be commit f48e0cacdf7ed458e0e89ab151e3d233fb89240b)
|
|
Guenther
(This used to be commit 84a25e69947c077623165fe4535cddd48aba0a3e)
|
|
Guenther
(This used to be commit 00ecf8205c4cd4a4c150b204811d448d0ac53c0d)
|
|
Jeremy.
(This used to be commit 079c75ef3c169c7a5d81bcaa0b70b6e0df2c464d)
|
|
Ok, here's the fix for the write times breakage
with the new tests in S4 smbtorture.
The key is keeping in the share mode struct
the "old_file_time" as the real write time,
set by all the write and allocation calls,
and the "changed_write_time" as the "sticky"
write time - set by the SET_FILE_TIME calls.
We can set them independently (although I
kept the optimization of not setting the
"old_file_time" is a "changed_write_time"
was already set, as we'll never see it.
This allows us to update the write time
immediately on the SMBwrite truncate case,
SET_END_OF_FILE and SET_ALLOCATION_SIZE calls,
whilst still have the 2 second delay on the
"normal" SMBwrite, SMBwriteX calls.
I think in a subsequent patch I'd like to
change the name of these from "old_file_time"
to "write_time" and "changed_write_time" to
"sticky_write_time" to make this clearer.
I think I also fixed a bug in Metze's original
code in that once a write timestamp had been
set from a "normal" SMBwriteX call the fsp->update_write_time_triggered
variable was set and then never reset - thus
meaning the write timestamp would never get
updated again on subsequent SMBwriteX's.
The new code checks the update_write_time_event
event instead, and doesn't update is there's
an event already scheduled.
Metze especially, please check this over for
your understanding.
Jeremy.
(This used to be commit 6f20585419046c4aca1f7d6c863cf79eb6ae53b0)
|
|
Jeremy.
(This used to be commit 0bae1ef3de8fda5e1e2d641b14a408e627396912)
|
|
Jeremy.
(This used to be commit 2d95ea38a2f1ead37121fcc036c21a7f20ff41f9)
|
|
This reverts commit b57cbf62e8180c8fdb8f541c43358d36d8dbbdfa.
(This used to be commit b2a3f13e5b3b81df2ed7460e54c11a7f56b3c4f6)
|
|
request.extra_data is not freed if there is no extra_data in response or
when there is some error happens in processing. This patch will free the
buffer right after processing a request before sending back a response.
(This used to be commit be6f12273f171a3eb1967d2299064e57d737f6a4)
|
|
Guenther
(This used to be commit 2e15036bacf717d27d1806bcbdba1e68f2f76aae)
|
|
Guenther
(This used to be commit f3044d76530f63b16f26fedf8e00eaf4d3badb06)
|
|
Guenther
(This used to be commit ebcd45ed3ff79ce3b90872aa87a737ba6ee3401f)
|
|
map_SHARE_INFO_buffer_to_srvsvc_share_info.
Guenther
(This used to be commit f21a934e1e100cb1496a6c854684ff110ba6d1cc)
|
|
Guenther
(This used to be commit a7050c999ff0a13724afbbbb2628cb47daec5b35)
|
|
Guenther
(This used to be commit 2066ebc5e3e782b9443aee3e5beb1a99d69096ec)
|
|
Guenther
(This used to be commit 4d7947e54959c6a445e8b0f7a8313fe232c1fb8f)
|
|
Guenther
(This used to be commit 7d863c4b00d70110819b847890ccb9b2a4aa71c9)
|
|
Guenther
(This used to be commit 22f37206338e54bbaf619a7b16e145f129bfe986)
|
|
Guenther
(This used to be commit 3fbfbaea004f792a577f21275e6e4218f581d698)
|
|
Guenther
(This used to be commit 029cf4a2a9d95b9c7de6eb75118a92474c0ae9c1)
|
|
Guenther
(This used to be commit 0166c8f04be1168fe83d7bf3730d3011ffd8c6f6)
|
|
Guenther
(This used to be commit 5c63b181ec698a6134ce31326dab9e6bd232acf0)
|
|
Guenther
(This used to be commit 237c6e0bca44e19ca89532e565b1345f9f329111)
|
|
Guenther
(This used to be commit dab613e930a9193153cc744e4ad4ea0fa6476b40)
|
|
Guenther
(This used to be commit 5d669075295a3adb30c013d1a3b617bf4ced8e73)
|
|
Guenther
(This used to be commit 5851b4e40e5cc2b7ba973b274f9203aa6e6fb1d8)
|
|
Guenther
(This used to be commit 86de3242a478c9f669958414ee9e7720cddad9aa)
|
|
Guenther
(This used to be commit f87caa7bff3b8a0b8d7cdc5cda7d21dd7e9eb0ec)
|
|
Guenther
(This used to be commit c5ab5bf8417412835d879c8a58a7c64e1359646f)
|
|
Guenther
(This used to be commit 383d268f8c4f6282757d350e6b059446e52e6c53)
|
|
Guenther
(This used to be commit 9afc888356f801fd231234673bb4a1f6cbf62792)
|
|
Guenther
(This used to be commit afdd14c26c27c9fa245165985a5d8e644855c4b5)
|
|
Guenther
(This used to be commit e28c332f32c4f7b1ac493f69f17254185d9cee96)
|
|
Guenther
(This used to be commit 39a42380ca3fac92eb27bded90ab06f7760937b9)
|
|
Guenther
(This used to be commit b66cee247fa7ef5293074b191b9cc2cbf4eef5f3)
|
|
Guenther
(This used to be commit 03a7f7f33370d65493a81ccead2038ee3ab291d0)
|