Age | Commit message (Collapse) | Author | Files | Lines |
|
We now define a separate info level RAW_SFILEINFO_RENAME_INFORMATION_SMB2
and set that level when handling SMB2 packets. This makes the parsers clearer.
(This used to be commit f6cdf3f1177f63d80be757f007eb15380839b4f5)
|
|
(This used to be commit 309cf408e01c36e2a12ed2d1462f2bbe407d4597)
|
|
(This used to be commit 9a139c35b7f1326616d26ce13bbdc7d6b22cd9b5)
|
|
We needed a flag in bufinfo to mark packets as SMB2, as it seems that
SMB2 uses a different format for the RenameInformation buffer than SMB
does
Also handle the fact that SMB2 clients give the full path to the
target file in the rename, not a relative path
(This used to be commit 52d7972d95ddc19d22a4187b4d4428a6c3ed32d5)
|
|
This converts our SMB and SMB2 code to use a common structure "struct
request_bufinfo" for information on the buffer bounds of a packet,
alignment information and string handling. This allows us to use a
common backend for SMB and SMB2 code, while still using all the same
string and blob handling functions.
Up to now we had been passing a NULL req handle into these common
routines from the SMB2 side of the server, which meant that we failed
any operation which did a bounds checked string extraction (such as a
RenameInformation setinfo call, which is what Vista uses for renaming
files)
There is still some more work to be done on this - for example we can
now remove many of the SMB2 specific buffer handling functions that we
had, and use the SMB ones.
(This used to be commit ca6d9be6cb6a403a81b18fa6e9a6a0518d7f0f68)
|
|
(This used to be commit 92dbbc479032ae3d0cf4b2b9e64291128185cf9c)
|
|
(This used to be commit 2dce9e4e0d5ba8785fdee3daba91e6c9f4a32040)
|
|
generated .mk file.
Move CPPFLAGS to be generated entirely inside configure.ac (simplifies
makefile.pm).
(This used to be commit a44af7c3872e900e1ea0da74ef796213030e29ac)
|
|
(This used to be commit af9e0421529104d2583c58f7723abe8612e78f53)
|
|
(This used to be commit b14d61a3b8055b7a8172e18e5bd69e7cab6eacdb)
|
|
use shared library versions if they are provided by the system.
This puts talloc and tdb in a similar situation as popt:
the system version is used if provided but if it's not there or if it
is too old, we use our internal version statically.
(This used to be commit 86f88eb7b51377344eebf0b6fabad0f5459b3f45)
|
|
metze
(This used to be commit 0c5539e5fedd4123f61d50ee29acdc5a5f0faf76)
|
|
This bug was introduced in 92b8bde561277a6b83048ce003cc29ff1b380255
and this shows that we need to be very, very careful in changing
idl elements from scalars to [ref] pointers!
metze
(This used to be commit 3ec4bce0b64764e364aedea2800eed296805c51e)
|
|
'foo / 5 * sizeof(bar)' isn't the same as
'(foo / 2) * sizeof(bar)'.
metze
(This used to be commit a496abc4042a98835d485769e0972826da161984)
|
|
metze
(This used to be commit 5100452cf3b3c3c5dcdb77a9efe27e8c506d1d43)
|
|
metze
(This used to be commit d6cdddbcf37d120cb365bc7f8188858c8776e2e0)
|
|
metze
(This used to be commit 36a31f31c4c01f4ebf1359650c497a1ba447e6d0)
|
|
(This used to be commit df82b0aa6990b59cde20893cb690a8a260526178)
|
|
(This used to be commit 17357072dd175b7548122e40e4cecc6087e52561)
|
|
(This used to be commit b3793c6562b1a1e8711561f65594ba0676f9282d)
|
|
Adding some defined for various new create options
(This used to be commit d037dc23ced3df6bce98cbf4810fb5f1247336bd)
|
|
(This used to be commit aea50426366dbe971d25d2a948db57885ce224b9)
|
|
(This used to be commit ec8bd3991f76cf8746cf77c277c3491725711f9d)
|
|
(This used to be commit 1a8f5ab78ae24607ff66b06e82aef9316f0ae54b)
|
|
(This used to be commit 8b33860954ca03be1ea45fd8d40963dbbd5b162f)
|
|
(This used to be commit f70aef8e51e1a2f186fe71edaa4c81a39b837573)
|
|
(This used to be commit bd0ef811c4e6419ba05076fbc151827cea5d1ca1)
|
|
(This used to be commit 11102681bcd70b0abb2df38bcdc7fdec51e71600)
|
|
(This used to be commit 5913e3e549e71affc66c28cacb6563331fb0c790)
|
|
Michael
(This used to be commit 38855a9f145b54d05f4a508562fc1a6595e0d895)
|
|
(This used to be commit 842b4969cd08a8acc5584cfdcf1aaf8a751e4fa3)
|
|
(This used to be commit 7911308dbc1233838e44c533302f77b03ea41148)
|
|
(This used to be commit c474a2bb83a3e28a0b83f3b8ca1b646742dfca3d)
|
|
Fixed arrays with the charset() attribute do the same
metze
(This used to be commit 9620b86e96e8065c0ff6db0d95130ab53581d468)
|
|
metze
(This used to be commit 746a715715c7af8036192ba6d74e282ceaec8c0d)
|
|
metze
(This used to be commit bb143c76fb971bc2a1d69954d37ab20a953f2b69)
|
|
Oplock breaks were not propagating because the list of open files was not
being maintained.
This fixes that based on best-guess of how it should work.
It has been tested manually with windows XP client obtaining an oplock from a
windows 2003 server, which then broke the lock when smbclient read the same file.
Previously the smbclient read blocked until the oplock timed out
(This used to be commit 1a53aeff9a9e8fe83fde5a617463a5b363c45313)
|
|
shared lib internally.
(This used to be commit 28539f48e6ad37a6436e6f2c6733ee1fcbc6567f)
|
|
(This used to be commit deb1dae2dabad3d74a1c6adf2c0b0d56917cca83)
|
|
(This used to be commit 981957165d09e82947f68475192f1ce1f0ddbdd3)
|
|
callback fn
metze
(This used to be commit 4e459f1fb3ab60c586df9a08cdc57db424a30b18)
|
|
(This used to be commit 51769f5cfc0f3a9f85ea533598a1f769e108d075)
|
|
(This used to be commit 6c9a8bf9f03cef0fc1c5f7ec3f8786eccf79c851)
|
|
(This used to be commit 252bcf207b8117f325075cbb7bd05063756ac283)
|
|
(This used to be commit d2c6ad55eca27f50a38fc6e2a85032eddb3f0aae)
|
|
(This used to be commit 3c2af0fdc4916dce32c2690e49dde0852d1a0c50)
|
|
This follows the SMB2 PFIF docs. Current versions of Vista can now connect to Samba4 as a SMB2 server
and do basic operations
(This used to be commit 9dc284770df9393a1a619735dc7a148713936fa7)
|
|
(This used to be commit 7d3ffd4d2b59d7c87c0a81030f349db21c071967)
|
|
(This used to be commit 3beaa04ef73ca21925d41745b30b6bbaadb7b939)
|
|
fixed the input side of the SMB2 negprot structure and parsers according to the documentation
(This used to be commit 55af8acc7b32c24e4b1187e9d8d1c8f060e914b0)
|