summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2008-02-14A better way to handle the different format of RenameInformation in SMB2Andrew Tridgell6-14/+54
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)
2008-02-14Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-testAndrew Tridgell17-96/+114
(This used to be commit 309cf408e01c36e2a12ed2d1462f2bbe407d4597)
2008-02-14we need to refuse a root_fid in rename on SMB but not SMB2Andrew Tridgell1-3/+5
(This used to be commit 9a139c35b7f1326616d26ce13bbdc7d6b22cd9b5)
2008-02-14Fixed SMB2 rename operations from Vista clientsAndrew Tridgell8-30/+59
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)
2008-02-14Convert SMB and SMB2 code to use a common buffer handling structureAndrew Tridgell28-157/+246
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)
2008-02-13Fix corner case.Jelmer Vernooij1-1/+2
(This used to be commit 92dbbc479032ae3d0cf4b2b9e64291128185cf9c)
2008-02-13Use more variables in generated data.mk.Jelmer Vernooij4-19/+39
(This used to be commit 2dce9e4e0d5ba8785fdee3daba91e6c9f4a32040)
2008-02-13Put soversions and versions for libraries with a hard-coded version in theJelmer Vernooij2-32/+22
generated .mk file. Move CPPFLAGS to be generated entirely inside configure.ac (simplifies makefile.pm). (This used to be commit a44af7c3872e900e1ea0da74ef796213030e29ac)
2008-02-13Allow tdb.mk and talloc.mk to be included at the same time.Jelmer Vernooij4-16/+16
(This used to be commit af9e0421529104d2583c58f7723abe8612e78f53)
2008-02-13Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivialJelmer Vernooij21-144/+208
(This used to be commit b14d61a3b8055b7a8172e18e5bd69e7cab6eacdb)
2008-02-13Never build .so versions of tdb/talloc from Samba 4 itself. Rather,Jelmer Vernooij3-8/+2
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)
2008-02-13torture/eventlog: the NTSTATUS of dcerpc_ functions is the same as r.out.resultStefan Metzmacher1-2/+0
metze (This used to be commit 0c5539e5fedd4123f61d50ee29acdc5a5f0faf76)
2008-02-13torture/eventlog: fix crash bugs!Stefan Metzmacher1-0/+8
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)
2008-02-13pidl: $size can be 'foo / 2' so we need to add '(' and ')'Stefan Metzmacher1-2/+2
'foo / 5 * sizeof(bar)' isn't the same as '(foo / 2) * sizeof(bar)'. metze (This used to be commit a496abc4042a98835d485769e0972826da161984)
2008-02-13idl_types: remove unused lstringStefan Metzmacher1-5/+0
metze (This used to be commit 5100452cf3b3c3c5dcdb77a9efe27e8c506d1d43)
2008-02-13spoolss.idl: improve idl for EnumPrinterData and not use 'lstring' any moreStefan Metzmacher2-12/+21
metze (This used to be commit d6cdddbcf37d120cb365bc7f8188858c8776e2e0)
2008-02-13Makefile: --enable-automatic-dependencies usageStefan Metzmacher1-1/+1
metze (This used to be commit 36a31f31c4c01f4ebf1359650c497a1ba447e6d0)
2008-02-13missed another spot in the SMB2 create conversionAndrew Tridgell1-6/+6
(This used to be commit df82b0aa6990b59cde20893cb690a8a260526178)
2008-02-13missed a spot in the SMB2 create conversionAndrew Tridgell1-3/+3
(This used to be commit 17357072dd175b7548122e40e4cecc6087e52561)
2008-02-13Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-testAndrew Tridgell8-4/+148
(This used to be commit b3793c6562b1a1e8711561f65594ba0676f9282d)
2008-02-13updated SMB2 create operation to match WSPP.Andrew Tridgell8-80/+109
Adding some defined for various new create options (This used to be commit d037dc23ced3df6bce98cbf4810fb5f1247336bd)
2008-02-13Add simple test for ETT_FIELD.Jelmer Vernooij1-1/+4
(This used to be commit aea50426366dbe971d25d2a948db57885ce224b9)
2008-02-13Support ETT_FIELD keyword.Julien Kerihuel2-0/+23
(This used to be commit ec8bd3991f76cf8746cf77c277c3491725711f9d)
2008-02-13Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivialJelmer Vernooij2-2/+2
(This used to be commit 1a8f5ab78ae24607ff66b06e82aef9316f0ae54b)
2008-02-13Initial work on a test for samba.tests.samdbJelmer Vernooij4-1/+59
(This used to be commit 8b33860954ca03be1ea45fd8d40963dbbd5b162f)
2008-02-13Add python version of newuser.py.Jelmer Vernooij1-0/+61
(This used to be commit f70aef8e51e1a2f186fe71edaa4c81a39b837573)
2008-02-13Fix invalid symbol.Jelmer Vernooij1-3/+5
(This used to be commit bd0ef811c4e6419ba05076fbc151827cea5d1ca1)
2008-02-13Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-testAndrew Tridgell16-98/+54
(This used to be commit 11102681bcd70b0abb2df38bcdc7fdec51e71600)
2008-02-13updated SMB2 tcon as per WSPP docsAndrew Tridgell7-33/+58
(This used to be commit 5913e3e549e71affc66c28cacb6563331fb0c790)
2008-02-12Raise version of talloc from 1.1.0 to 1.2.0 after adding talloc pools.Michael Adam2-2/+2
Michael (This used to be commit 38855a9f145b54d05f4a508562fc1a6595e0d895)
2008-02-12Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivialJelmer Vernooij6-65/+20
(This used to be commit 842b4969cd08a8acc5584cfdcf1aaf8a751e4fa3)
2008-02-12Fix subunit runner exit codes.Jelmer Vernooij2-2/+4
(This used to be commit 7911308dbc1233838e44c533302f77b03ea41148)
2008-02-12Correctly increment counters in Subunit test runner.Jelmer Vernooij2-4/+5
(This used to be commit c474a2bb83a3e28a0b83f3b8ca1b646742dfca3d)
2008-02-12librpc: remove special support for fixed length stringsStefan Metzmacher3-58/+1
Fixed arrays with the charset() attribute do the same metze (This used to be commit 9620b86e96e8065c0ff6db0d95130ab53581d468)
2008-02-12spoolss.idl: don't use string32 anymore and use an charset() arrayStefan Metzmacher1-2/+2
metze (This used to be commit 746a715715c7af8036192ba6d74e282ceaec8c0d)
2008-02-12nbt.idl: don't use astring15 anymore and use an charset() arrayStefan Metzmacher1-1/+1
metze (This used to be commit bb143c76fb971bc2a1d69954d37ab20a953f2b69)
2008-02-12Fix open file tracking in vfs_cifs so that oplock breaks can propagateAmin Azez1-4/+16
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)
2008-02-12Support using shared library during testsuite run if tdb was built with a ↵Jelmer Vernooij1-2/+2
shared lib internally. (This used to be commit 28539f48e6ad37a6436e6f2c6733ee1fcbc6567f)
2008-02-12make sure libraries are built before attempting to install.Jelmer Vernooij1-2/+2
(This used to be commit deb1dae2dabad3d74a1c6adf2c0b0d56917cca83)
2008-02-12Specify PICFLAG when compiling python modules.Jelmer Vernooij2-2/+2
(This used to be commit 981957165d09e82947f68475192f1ce1f0ddbdd3)
2008-02-12[PATCH] composite: make it possible to call composite_is_ok() without ↵Stefan Metzmacher1-18/+13
callback fn metze (This used to be commit 4e459f1fb3ab60c586df9a08cdc57db424a30b18)
2008-02-12Make sure talloc.so is build before installing.Jelmer Vernooij1-2/+2
(This used to be commit 51769f5cfc0f3a9f85ea533598a1f769e108d075)
2008-02-12Fix installation of python module for ldb and tdb.Jelmer Vernooij2-1/+4
(This used to be commit 6c9a8bf9f03cef0fc1c5f7ec3f8786eccf79c851)
2008-02-12fixed crash when 0 dialects (thanks metze!)Andrew Tridgell1-2/+4
(This used to be commit 252bcf207b8117f325075cbb7bd05063756ac283)
2008-02-12updated SMB2 header defines to match WSPP docsAndrew Tridgell12-55/+56
(This used to be commit d2c6ad55eca27f50a38fc6e2a85032eddb3f0aae)
2008-02-12converted SMB2 session setup to use WSPP protocol field namesAndrew Tridgell3-32/+28
(This used to be commit 3c2af0fdc4916dce32c2690e49dde0852d1a0c50)
2008-02-12converted the out side of SMB2 negprot handlingAndrew Tridgell4-64/+66
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)
2008-02-12added some helper functions for GUID handlingAndrew Tridgell1-0/+41
(This used to be commit 7d3ffd4d2b59d7c87c0a81030f349db21c071967)
2008-02-12Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-testAndrew Tridgell13-47/+97
(This used to be commit 3beaa04ef73ca21925d41745b30b6bbaadb7b939)
2008-02-12fixed up the .in side of SMB2 negprotAndrew Tridgell6-19/+76
fixed the input side of the SMB2 negprot structure and parsers according to the documentation (This used to be commit 55af8acc7b32c24e4b1187e9d8d1c8f060e914b0)