Age | Commit message (Collapse) | Author | Files | Lines |
|
Guenther
(This used to be commit 4d92d000a1676d2da45e8113ade60250c6c7eebe)
|
|
Guenther
(This used to be commit 00af97de407e2c0447714095340bd9494cc53b0f)
|
|
Guenther
(This used to be commit 5040f6af41250220c5ccf1cbdc206c4b6e7025a5)
|
|
Guenther
(This used to be commit 2ddee7577de1d6d2b7a39b949ed6a925da2e9db8)
|
|
Guenther
(This used to be commit 1355939b4c9c2883f9542ef4189cac7418104b68)
|
|
Guenther
(This used to be commit 3e96cd229c1536a7e16441f600c379ceb651b2b3)
|
|
Guenther
(This used to be commit 165be948fab1c64526421b44b08de700849bba25)
|
|
Guenther
(This used to be commit 4efbd569478d6d98078833084aaae5a97cd5182b)
|
|
Guenther
(This used to be commit 6b35856c21d300bf20dd7bc7c27c5e12aca6b2ff)
|
|
Guenther
(This used to be commit 87fc15d9b52bbb15550015cb106062d24c5674ba)
|
|
Guenther
(This used to be commit 7e8903b53beba3ad1bb8617ed435249257724be3)
|
|
Guenther
(This used to be commit b42408f54ea61ad47f5a33085ab1532c67ceee83)
|
|
Guenther
(This used to be commit f4cb75b1e2b030055b9c566f941277286095b8a7)
|
|
Guenther
(This used to be commit 0637ad872e5d30f71b6ea1ec2d243ec8e8836c31)
|
|
Guenther
(This used to be commit e0312728a5ac5abd64622600f47967861a4e0183)
|
|
using the parent security descriptor type and flags instead
of using the passed in SD.
Jeremy.
(This used to be commit 0d824d7188518aaa7b4e890885e6bc42e94397c5)
|
|
with write time,
just return what the underlying filesystem says. Trying not to confuse UNIX apps any more than necessary.
Jeremy.
(This used to be commit b81a4dd003957a611ea190979d828b75d07a1f80)
|
|
Jeremy.
(This used to be commit a59bd0e4854117a8646f4d388a0f7285362d5ba2)
|
|
This fixes a crash in net rpc share that Günther Deschner found.
(This used to be commit 50af6d609dcbbdadb9af44ede980d9c85ac834e3)
|
|
(This used to be commit 84ed752d9f17b2279bd60f534ce7c02b267a40b2)
|
|
(This used to be commit 5721205bff539ed5f8592a86168679ec5a9c368e)
|
|
(This used to be commit c3d1b0097590566417bda3fa33a64e994c9c7526)
|
|
svn.
(This used to be commit 151c78652a89146049a134f60aef509c2117c436)
|
|
(This used to be commit c77758de5d6df28abaffe3f8a1d7b5cbc615605e)
|
|
(This used to be commit ab41017896e08d32c8a87bf172654ff2db6b6f1a)
|
|
(This used to be commit ddc5e77b619db7c2369b3bf72b60360051797087)
|
|
Logic stolen from Samba4, naturally the specific implementation differs a bit.
(This used to be commit 4b8bc5b03d35d563104791c0d8317d9886e4f032)
|
|
(This used to be commit 23e9fed28cf9998534b3c55f4b20a562da507552)
|
|
The async trans calls need this, as for secondary trans calls they have to
modify the MID from what cli_request_chain() gave us.
(This used to be commit c85de4b7b5db8b54b8bf0f91acbd6d08d1b0bc9d)
|
|
This gives a hint whether a function is called from within the middle of a
chain. In particular the trans calls don't really like this.
(This used to be commit 4252b32db5ef7483f2c5c52312b6e6dc68d1d687)
|
|
(This used to be commit d611f599b45ad9dad1027a16a0e8da7d4b96e608)
|
|
(This used to be commit d8259cbe666d96cc468203a64fb208c02a64849f)
|
|
(This used to be commit 7e0cca19fec078c0b46807492a7a035f4fab612b)
|
|
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)
|
|
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)
|