Age | Commit message (Collapse) | Author | Files | Lines |
|
Routines to ease the transition to the new API
(This used to be commit 1bb2b341e2cb6c0175376dc8bd2d1ce6d9c6c00e)
|
|
(This used to be commit fb0a1b7bd0a195dbedb3b0c02d8a4ec25c21b9bf)
|
|
(This used to be commit bbc99e1c3b764bc2adf620553b7fa85efdf8ac53)
|
|
(This used to be commit 7689048d71cc4adbdaee5521cc57890518e7090a)
|
|
(This used to be commit e93f3996fcdde6f0fbba3fb9e1e97407e9ccdd62)
|
|
(This used to be commit c8e0aa5752fde34f7271a4fad758dfae0991722d)
|
|
(This used to be commit 10ac991750e9476299d39ac6f763d1638ff8c619)
|
|
(This used to be commit bd0cb48dde401f48dec98fa7ca794a912e0244f1)
|
|
(This used to be commit c9f12326dd1c090bd0ef9bb97c82926c2efd6ae8)
|
|
(This used to be commit e6d592dcb8ff9f986b531435d0d03df20880880b)
|
|
As usual,
its history can be found on http://samba.org/~vlendec/sesssetup/. This very
obviously needs close review.
Volker
(This used to be commit 35675a6a33d584e5c3c97d1cb5ca9b0315a5fa92)
|
|
(This used to be commit 53027d0ee2dbe15beb2fce5d11a26f4ac0b08b9c)
|
|
(This used to be commit eabe796e464e5fe10d0f4cca1362985c529f5a5b)
|
|
(This used to be commit a2ecc34aa43f810e68815c25016da1d184a21a04)
|
|
the claim_connection() must come after the sockets are open
metze
(This used to be commit 306846a14f554c55b57e9ce0ad324d5c81776330)
|
|
with gcc still gives timeouts which worry me.
Volker
(This used to be commit c30835b4f0416b2b2b7d77d31b0fca0606f2387a)
|
|
Some hosts see the smb_bufrem(req->inbuf, p) as an unsigned int. And as
the p += strlen(p) + 2 went one beyond the buffer, this was a very
large positive. Also take the chance to add one more consistency check.
(This used to be commit 3673707f9f1a3ba29966ac7cf744e2b6462c8dde)
|
|
(This used to be commit e5c7c6406af5552b3060f03a09b5e6c9a42e531c)
|
|
(This used to be commit 9422385d9c018a0b1f2a0b2edd82dc574a9fb403)
|
|
(This used to be commit bd981f53282573058bf4c2939e0e836499cf38be)
|
|
This way the range checking only needs to be done once
(This used to be commit befaa9713adec90088eedcf264f1e396ab150d25)
|
|
The proposed new API convention is to start with a 0 bcc length and then
push things step by step. These routines reallocate the outbuf and
adjust the length and bcc fields as necessary.
(This used to be commit 624f1fe4f6e022d73e78fa8c9646f6f64035f3ee)
|
|
This is an example of chained code that is executed in make test
(This used to be commit e3a10e9ffb06f429208f8b8e8482bbfd56dace91)
|
|
(This used to be commit dbf74cb747d34dac571d85d6bae9398558086456)
|
|
InBuffer/OutBuffer
The complete history of this patch can be found under
http://www.samba.org/~vlendec/inbuf-checkin/.
Jeremy, Jerry: If possible I would like to see this in 3.2.0. I'm only
checking into 3_2 at the moment, as it currently will slow down operations for
all non-converted (i.e. all at this moment) operations, as it will copy the
talloc'ed inbuf over the global InBuffer. It will need quite a bit of effort
to convert everything necessary for the normal operations an XP box does.
I have patches for negprot, session setup, tcon_and_X, open_and_X, close. More
to come, but I would appreciate some help here.
Volker
(This used to be commit 5594af2b208c860d3f4b453af6a649d9e4295d1c)
|
|
(This used to be commit a54fa551a4b9ffe3f29b339a54e563cdfe924959)
|
|
(This used to be commit bc106cf50732ed6c169dcf593797501fcb3ae675)
|
|
(This used to be commit 0484de27d97306707ae0243443d18e9dec6d80f3)
|
|
if (smb_messages[type].fn == NULL) { into the function top-level. Makes
this function a bit easier to understand IMO.
Volker
(This used to be commit ada23b7f06acb00c36763a3e7a6f6e0caac86951)
|
|
There's no point in duplicating functionality that exists in
sys_getpid() that also only used in a debug statement
(This used to be commit ebf1b1e97c709f5ffe48c85b4227a0af1f88b0ab)
|
|
Thanks!
Volker
(This used to be commit 46997a70199296d4ec45780f002898f23029bb26)
|
|
invalid names sent as a resume name were incorrectly mapped into
. and .. Ensure they really *are . and ..
Jeremy.
(This used to be commit 78d0c5194fe42ad4f096657e2210a15541303a2a)
|
|
Jeremy.
(This used to be commit 57d4d5f2cd1ad7bae28f40478f4c2f9b6a475ce6)
|
|
Should fix the build.
Jeremy.
(This used to be commit b085366d5b982b635561f1d3211a6f3197258e6f)
|
|
max_param or return NT_STATUS_OK.
Jeremy.
(This used to be commit ab4af60d1ab4583fd27deb63b3f7baa1ede3473d)
|
|
if a Windows client had the file open. We were setting
delete on close and returning "ok". The POSIX client then
believed the file was gone (and it wasn't). Fix this to
return SHARING_VIOLATION if there is an existing NTcreateX
open on the file and someone calls POSIX_UNLINK. Still one
more Cthon test to fix but getting closer now. Should
be in 3.0.25c also.
Jeremy.
(This used to be commit 24e625a615447c025b73fed2d3db03c1f11ae596)
|
|
/usr/include/sys/acl.h:#define acl_type acl_common.entry_type
was the problem...
metze
(This used to be commit 8557b8b570ac8f8d3d14aaeb894c8b3532558736)
|
|
RAW-SFILEINFO-RENAME until I can figure out what
is different from the way CIFSFS drives this in
the cthon tests and the way smbtorture drives it.
Jeremy.
(This used to be commit 99f72dd9af82921de4827b9b9d90d75127332295)
|
|
need to look at this more closely tomorrow.
Stevef's cthon tests definately show we're not
matching Windows behaviour (as his tests pass
against Windows but not SAMBA_3_2) but this isn't
the fix.
Jeremy.
(This used to be commit 90bbc077e15de0493dccda50be9bcdf6e2649137)
|
|
source open for non-delete open.
Turns out this is not the case.
VL please test but this matches
Windows behaviour. (I'll add a
torture test tomorrow).
Jeremy.
(This used to be commit 03e3d587468ce66044814a8a58308b2fe9ab5499)
|
|
It matters how the target is open.
Jeremy.
(This used to be commit 0989877fd191f7c9e195dc6e45dda5fd026f09dd)
|
|
used lstat during the open (which we always
do for POSIX) then use lstat for the unlink.
Jeremy.
(This used to be commit 4aad77c27cc277e3d937f674ee620729411e3eaf)
|
|
(This used to be commit 7f4ceb1bf0c7aad50d93bb963c49dbc405e9524a)
|
|
(This used to be commit c06bc91085c24bf6cc4491448ba12c5c2f1c7937)
|
|
Jeremy
(This used to be commit 98c23939731654440d2f008e44e11371eaddf014)
|
|
(This used to be commit 4d1b33f51308c95293fa2494b47ba1255af8d216)
|
|
(This used to be commit a369c67f6678bdcc0689929238bc96f45cdeeb25)
|
|
checker.
(This used to be commit 33068885e62f3681644c128e381822d48298ea05)
|
|
(This used to be commit 2ed83d36fec918e6ad9605f43e1a49fa5b61f17b)
|
|
calls and converted reply_tcon and reply_tconX to use
them - to show the boilerplate usage (valgrind tested).
In conjunction with Volker's srvstr_get_path_talloc()
work this should allow us to start eliminating all
pstrings/fstrings out of the main path processing
code.
I'll watch the build farm tonight...
Jeremy.
(This used to be commit b4eff3f68089f082781afcf90d43faa317949566)
|