| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
metze
(cherry picked from commit 48bcb8c846532ccd5489ef705182fb81c5278b04)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Otherwise we may get unexpected results.
This is a fix that was missing in commit 95595dd93fd04999fcf56ecaab7c29b064d021f8
(s3:libsmb: fix cli_write_and_x() against OS/2 print shares (bug #5326))
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Nov 9 10:13:32 CET 2011 on sn-devel-104
(cherry picked from commit 4b31c4273c45faa639445614061f3da548eb8505)
|
|
|
|
|
|
|
|
|
|
|
| |
Print shares doesn't support CAP_LARGE_WRITEX, while it's negotiated
by the file server part.
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Nov 8 17:01:36 CET 2011 on sn-devel-104
(cherry picked from commit 95595dd93fd04999fcf56ecaab7c29b064d021f8)
|
|
|
|
|
|
|
|
|
| |
(#8573)
I've tested the fix against NT4 sp6a, W2K sp4, W2K8R2 and Win8pre0.
metze
(similar to commit aea76a3aaa7ea52f563e7bc8a8ed60d9651f9e34)
|
|
|
|
|
|
| |
legacy dialects
Ensure we have valid pointers.
|
|
|
|
|
|
|
|
| |
metze
Fix bug #8452 (negprot reply needs to check vwv vector length).
The corresponding commit in master is 85332eb1c721d585e1a33101bddafdca4073e10f.
|
|
|
|
|
|
|
|
| |
0645deb1b4a70e45f88116fae16ec7f3a1b4d5ed)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Fix bug #7864 (cli_errstr() usage is wrong).
|
|
|
|
|
| |
The last 4 patches address bug #8338 (MAC Lion - smbclient "Open AndX
Request->STATUS_NOT_SUPPORTED).
|
|
|
|
|
|
|
| |
via an uri
Fix null deref.
(cherry picked from commit cf0c36ab9a5129878b92a52d22aa814eaa737a4c)
|
|
|
|
|
| |
Two uses of the setup array are not being correctly byte-swapped to little
endian.
|
|
|
|
| |
commit 102a931c8081559423fb25b3a4d445b6f2e790ac)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
max_xmit
This is important in order to support DCERPC over ncacn_np against NT4 servers,
where max_xmit is just 4356.
metze
(cherry picked from commit f0ba1afe5f7dbafaf22c3028864de0f3910f675f)
The last 14 patches address the generic part of bug #8195
(rpc client code doesn't work against NT4, when we need to fragment requests).
|
|
|
|
|
|
|
|
|
|
| |
max_xmit
This is important in order to support DCERPC over ncacn_np against NT4 servers,
where max_xmit is just 4356.
metze
(cherry picked from commit 73128b7cc7f536f80072a19cb69527c53d9a6c2f)
|
|
|
|
|
|
|
|
|
| |
primary requests
This is needed to implement SMB signing correct.
metze
(cherry picked from commit 5d06b2197b5fd95aaf0394d1bdba957bac6c3570)
|
|
|
|
|
|
|
|
|
| |
We now keep the primary request open for the whole logical request.
The primary request is the one that gets all incoming replies.
While secondary requests are handled as separate one-way requests.
metze
(cherry picked from commit 1dd24ac06a7472f53b06bc0aaa54cb22c8da0f78)
|
|
|
|
|
| |
metze
(cherry picked from commit 10bb088cf1e005fd047c09afcf6b5b8999d416fe)
|
|
|
|
|
|
|
| |
a comment
metze
(cherry picked from commit 5146c9ba9df063d6611abe356f9262adb027b091)
|
|
|
|
|
|
|
|
|
| |
We need to align params and data to 4 byte offsets.
This also correctly recalculates the useable space after each step.
metze
(cherry picked from commit 0a8fd50bd806e925a915c74cb86733481b2144f6)
|
|
|
|
|
|
|
|
| |
This is just to make the code more readable
and easier to notice how many words we're using in vwv.
metze
(cherry picked from commit 6f7af1b0388d30c8a06c495713066b90ded00780)
|
|
|
|
|
|
|
| |
SMBnttrans uses 32-bit values there.
metze
(cherry picked from commit 428a86c92b5b35e28c7d6921f2999616cdc1bc20)
|
|
|
|
|
| |
metze
(cherry picked from commit 2ae565b681a6307886b888ee5b576c12916eb0db)
|
|
|
|
|
|
|
| |
This will be used for correct signing in [nt]trans[2][s] requests.
metze
(cherry picked from commit 3dd1ebd21ee99d130f6dd30326ddafe3f00a50d0)
|
|
|
|
|
|
|
|
| |
If the mid was set explicitly, it means the request expects more than
one reply, so leave it in the pending array.
metze
(cherry picked from commit a25936f1b1300a76b08a6bd435bd7ccc388279d5)
|
|
|
|
|
|
|
| |
directly
metze
(cherry picked from commit 173fc258e443d97e4ea37f2bee99c21ad15ab484)
|
|
|
|
|
|
|
| |
requests
metze
(cherry picked from commit 49cdf171a5198495aead9ace43963e805331e20b)
|
|
|
|
|
|
|
|
|
|
|
| |
This isn't the fixed buffer size anymore, as we use dynamic beffer
it's just the maximum size.
metze
(cherry picked from commit 957cfd23e1781e342edde07fc01dbec279088afa)
The last 3 patches address bug #8195 (rpc client code doesn't work against NT4,
when we need to fragment requests).
|
|
|
|
|
|
|
|
|
| |
Having 8192 bytes on an idle connection is a bit to much,
so we better use dynamic buffers using talloc, which also
avoids a memcpy in the common SMBtrans readv codepath.
metze
(cherry picked from commit ad1cf187fdbcd726c6c74085308784fe4ecca883)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
#8195)
NT4 servers return NT_STATUS_PIPE_BUSY if we try a SMBtrans
and the SMBwriteX before hasn't transmited the whole DCERPC fragment.
W2K and above is happy with that.
As a result we try to match the behavior of Windows and older Samba clients,
they use write and read buffers of 4280 bytes instead of 1024 bytes.
On Windows only the SMBtrans based read uses 1024 (while we also use 4280
there).
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Jun 7 20:25:32 CEST 2011 on sn-devel-104
(cherry picked from commit c3ac298a1fe4f5cada6d09376e2d4a3df271a093)
|
|
|
|
|
| |
Guenther
(cherry picked from commit ed10726abca2194d21ea5174c2ff2cda79db499e)
|
|
|
|
|
| |
Guenther
(cherry picked from commit 005930411ccbb2793023d2a4d29bdb536d822aba)
|
|
|
|
|
| |
Guenther
(cherry picked from commit 81b5d8538a00181af814e98af83718ef5f413868)
|
|
|
|
|
| |
Guenther
(cherry picked from commit c1058ad47607c089ba630b21df1f6b72a24a861c)
|
|
|
|
|
| |
Guenther
(cherry picked from commit 1e9f2bdb2f7f9e809dd3044dc94018e0b5b6e8d3)
|
|
|
|
|
|
| |
header comments."
This reverts commit 6df3ff20620b3262ff232a478312c61a207ed4ff.
|
|
|
|
|
|
| |
comments.
Add missing GPL headers and (C) statements.
|
|
|
|
| |
(cherry picked from commit 01386ff3132ff5c786e83fc24328a80661de6bb7)
|
|
|
|
| |
(cherry picked from commit 4ec00fd621e944ff979e9f0a20773202d8c66472)
|
|
|
|
|
|
| |
If kerberos_get_realm_from_hostname() or kerberos_get_default_realm_from_ccache() fails due to
a misconfigured krb5.conf, try the "realm =" from smb.conf as a fallcback before going back to
NTLMSSP (which we'll do anyway).
|
|
|
|
|
|
|
| |
b1a7bdb93c7fda54a29284f1691de1dc4f3bbf6b)
Fix bug #8159 (Memory corruption in fetching cli->server_domain from the
server.).
|
|
|
|
|
| |
Jeremy, please check!
(cherry picked from commit 9514f96856ccf822b683b5362fd2eb4a4e9e418a)
|
|
|
|
|
| |
Guenther
(cherry picked from commit 1e208a705718adb105d89093041c0ba5d51f2429)
|
|
|
|
|
| |
Guenther
(cherry picked from commit 675573d54b717ffc24cf3b49301ff649aecc259a)
|
|
|
|
| |
Guenther
|
|
|
|
|
| |
Guenther
(cherry picked from commit d8cfca3a9bd2b6b6c562fd202377d95a98eb5472)
|
|
|
|
|
| |
Guenther
(cherry picked from commit ea8960448d0a40067382a8d14ae19351d20acbdd)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
with client ntlmv2 auth = yes, there is a small difference between
using smbclient -U user\domain and smbclient -U user -W domain
if domain is provided in lowercase
using -W will uppercase the given parameter, while picking the
domain name from -U will not convert it to uppercase and this
leads to failing NTLMv2 authentication
with this patch, there is no difference between
smbclient -U domain\user and smbclient -U user -W domain any more
Autobuild-User: Christian Ambach <ambi@samba.org>
Autobuild-Date: Mon May 16 11:42:55 CEST 2011 on sn-devel-104
|
|
|
|
|
|
| |
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sat May 14 14:19:01 CEST 2011 on sn-devel-104
(cherry picked from commit f1cdce6c135574bd0552f1e368c9b47daf633c73)
|
|
|
|
| |
(cherry picked from commit 06a2ff579692ea062944e5bd90d3526327004954)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I have a test failure on my 32-bit Ubuntu system, in that
samba3.smbtorture_s3.plain(s3dc).LOCK9 immediately times out (rather than
waiting 5 seconds for the child).
Debugging revealed this code: timeout is in ms and is set to > 1000 in
various places. The code dates from 2002, and other perturbations didn't
reveal why it breaks now, but fix it anyway.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Autobuild-User: Rusty Russell <rusty@rustcorp.com.au>
Autobuild-Date: Tue May 10 12:09:07 CEST 2011 on sn-devel-104
(cherry picked from commit 87e35421744df568721a7f9c7fa141d62665d183)
|
|
|
|
|
|
| |
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed May 4 00:03:47 CEST 2011 on sn-devel-104
(cherry picked from commit 7febcb5ffeb2d92f2a4f8abe2c0dac91f5c8a53e)
|