summaryrefslogtreecommitdiff
path: root/source4/libcli/raw/interfaces.h
AgeCommit message (Collapse)AuthorFilesLines
2009-11-25s4/libcli: rename previously reserved field in SMB2 LOCK structSteven Danneman1-1/+1
The lock.in.reserved field has been renamed lock_sequence in the SMB 2.1 dialect. See MS-SMB 2.2.26.
2009-10-15s4-smb: declare root_fid as a file handleAndrew Tridgell1-2/+2
In order to implement root_fid in the s4 SMB server we need to declare it as a handle type, just as for other fnum values in SMB. This required some extensive (but simple) changes in many bits of code.
2009-10-01s4/torture: Add two new SMB RAW-OPEN testsAravind Srinivasan1-0/+52
* Add chained NTCREATEX_READX test which first tries to open/read a non-existant file failing on the open, then attempts the same operation on a file that does exist, opening and reading successfully. * Add test for open_dispositions on directories.
2009-08-12libcli/smb: move smb2_create_blob code to libcli/smb/Stefan Metzmacher1-7/+1
I want to use this in source3/smbd/ metze
2009-08-12libcli: move some common SMB and SMB2 stuff into libcli/smb/Stefan Metzmacher1-1/+1
This will hold code that's shared between source3 and source4. metze
2009-08-07s4:libcli: move SMB2 Find constants to smb2_constants.hStefan Metzmacher1-16/+0
metze
2009-08-07s4:libcli/raw: also include smb2_constants.h into interfaces.hStefan Metzmacher1-1/+2
metze
2009-07-02s4:libcli: move SMB2 lock flags to smb2_constants.hStefan Metzmacher1-7/+0
metze
2009-04-01s4:smb2: Add lease break support for SMB2.1Zach Loafman1-1/+22
Add the structures and marshalling for the lease break variants of the oplock break / oplock break ack messages.
2009-03-28s4:smb2: Add rudimentary SMB2.1 lease support to libcliZach Loafman1-0/+12
Add the structures, constants, and marshalling for SMB2.1 leases.
2009-02-02s4:libcli/raw: s/private/private_dataStefan Metzmacher1-1/+1
metze
2008-09-24added the structure for LINK_INFORMATION setfileinfo callAndrew Tridgell1-0/+13
2008-09-23added FULL_EA_INFORMATION setea callAndrew Tridgell1-0/+9
2008-07-07libcli/raw: the nttrans setup count is only 8-bitStefan Metzmacher1-1/+1
metze (This used to be commit a65599cc83a12ec61e5a6ba6ad9628619a0dc8a3)
2008-06-02updated some info levels based on WSPP docsAndrew Tridgell1-4/+13
(This used to be commit f84620324a8cebcd2fd19388d910928ca1ad1334)
2008-05-29added support for returning the maximal access MXAC tag in SMB2 createAndrew Tridgell1-1/+8
(This used to be commit 4eb49335d5f0319f9aa47ded5215a2977d3336bf)
2008-05-28added support for all of the known SMB2 create tags in our clientAndrew Tridgell1-4/+16
library (This used to be commit 597b38e97b01d2137e6ac96ca07cd56fadb2c09e)
2008-05-27ensure that we honor SMB2 read min_count properlyAndrew Tridgell1-1/+1
(This used to be commit 318038d6f670efffa96d8b0db63f46b3752e1cd3)
2008-05-27added support for the output fields of SMB2 closeAndrew Tridgell1-6/+25
(This used to be commit 2633bc749792c224acc73a2e4ca723404331c19c)
2008-05-26stricter checks for valid inputs in SMB2 open and lockAndrew Tridgell1-0/+1
(This used to be commit a7b5689a73adde59de28770aa3949660441291ea)
2008-05-22fixed parsing of the SMB2 ALL_INFO qfileinfo levelAndrew Tridgell1-1/+2
(This used to be commit a7be5ba22e0cf2c61501f5a05e64673f31ba145c)
2008-05-21fixed SMB2 flush call, and added flush to gentest_smb2Andrew Tridgell1-1/+5
(This used to be commit c52fe1fe1c77636d87355d3c4baa66e052fe9008)
2008-05-21fixed SMB2 lockingAndrew Tridgell1-13/+15
- SMB2 locking is different in several ways from SMB locking. To fix it properly we will need a new generic mapping structure for locking, but for now do a best effort mapping - added locking to gentest_smb2 (This used to be commit ea6d9cf602302adafe0f9d5f5f90a9b26d1ead6f)
2008-05-15update some SMB2 find flagsAndrew Tridgell1-3/+4
(This used to be commit b7560afd4bab984c0083e9687b69bc42970ad932)
2008-04-19libcli: define structure for SMB2 BreakStefan Metzmacher1-1/+16
metze (This used to be commit 5ffea702c3a1c92a797afab1a3cadf2f2a18729f)
2008-04-17libcli/smb2: make it possible to pass additional extra blobs in smb2_create()Stefan Metzmacher1-0/+8
This also fixes the alignment from 8 to 4 byte bounderies. metze (This used to be commit e0a0d8e36acd735b587cd7870625af52c5dc3431)
2008-04-14fill in unknown fields in SMB2 READ callAndrew Tridgell1-5/+13
(This used to be commit 9b686c138037f613da15168d0722786e00f023e5)
2008-03-11libcli/raw: add RAW_RENAME_NTTRANS supportStefan Metzmacher1-1/+12
metze Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be commit bfe773a620640fa46efe008f38144f5452350825)
2008-02-14A better way to handle the different format of RenameInformation in SMB2Andrew Tridgell1-1/+4
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-14Fixed SMB2 rename operations from Vista clientsAndrew Tridgell1-1/+1
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-13updated SMB2 create operation to match WSPP.Andrew Tridgell1-12/+13
Adding some defined for various new create options (This used to be commit d037dc23ced3df6bce98cbf4810fb5f1247336bd)
2008-02-13updated SMB2 tcon as per WSPP docsAndrew Tridgell1-7/+6
(This used to be commit 5913e3e549e71affc66c28cacb6563331fb0c790)
2008-02-12converted SMB2 session setup to use WSPP protocol field namesAndrew Tridgell1-15/+8
(This used to be commit 3c2af0fdc4916dce32c2690e49dde0852d1a0c50)
2007-10-10r25301: Merge my includes.h cleanups.Jelmer Vernooij1-0/+1
(This used to be commit 37425495f392a2d0122a93aa2c42758eab7dab5a)
2007-10-10r24712: No longer expose the 'BOOL' data type in any interfaces.Jelmer Vernooij1-7/+7
(This used to be commit 1ce32673d960c8b05b6c1b1b99e1976a402417ae)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell1-3/+2
There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r23519: added libcli code for fetching shadow copy informationAndrew Tridgell1-0/+15
(This used to be commit a9c23729f253f65825466cfef965d259ec35a54c)
2007-10-10r23138: added a raw interface for SMBecho operationsAndrew Tridgell1-0/+18
(This used to be commit 590c6c21db5abd436441a9af62ee65436d6f1222)
2007-10-10r22858: - let SMB2-LOCK-VALID-REQUEST pass against longhorn beta3Stefan Metzmacher1-5/+6
- add modify the SMB2-LOCK-BLOCK-WRITE test to also test reading and name in SMB2-LOCK-RW-EXCLUSIV - add SMB2-LOCK-NONE and SMB2-LOCK-SHARED metze (This used to be commit 258555975d3877cff3bc3022f3439cdd61f6c8ac)
2007-10-10r21949: After discussion with the Apple and Linux client maintainers,James Peach1-1/+1
changing the FindFirst response for the UNIX_INFO2 level to include a length field before the name. The name is not required to be null terminated. the lenght field does not count any null. (This used to be commit eef672bfff6b112ceceec2a58c78042352e83276)
2007-10-10r21710: Add client support for the UNIX_INFO2 info level in the QueryFile,James Peach1-4/+80
QueryPath and FindFirst calls. Add a new torture test to verify the server side. (This used to be commit 7f56da2d1fa0718e5282bb4aea7d9a63a62f0bc7)
2007-10-10r21206: - a couple more nttrans places were a memcpy() should be usedAndrew Tridgell1-3/+3
- changed the setup array in nttrans to be a uint8 array, instead of a uint16 array. This makes it clearer that it is the job of the caller to do any byte swapping within that data (This used to be commit fa3c9b29ae1c7c6a9bc97484cc386aeec9b5d266)
2007-10-10r18835: expand IO limits on SMB2. Samba4 now tops out at 16.7MB IOs.Andrew Tridgell1-1/+1
(This used to be commit 1e34e4d5a1fd3d74080424140e4ab276b6042d12)
2007-10-10r16980: - make struct smb_notify a union and add levels ↵Stefan Metzmacher1-14/+51
RAW_NOTIFY_NTTRANS,RAW_NOTIFY_SMB2 - parse SMB2 Notify reponse metze (This used to be commit de50e0ccddfad16ad7b254770f4c52c1abe707b9)
2007-10-10r16918: the SMB2 Ioctls are sometimes called with a wildcard handleStefan Metzmacher1-1/+2
the operation doesn't need a valid file handle in that case metze (This used to be commit d41a83d55945b07020349339888f3a34ac4eff4e)
2007-10-10r16875: implement SMB2 Find in the frontendStefan Metzmacher1-0/+9
metze (This used to be commit 58bed7322c7e552d0462a11ce5d46a282c31f8f7)
2007-10-10r16834: split the level's of smb_search_first/smb_search_next and the levelsStefan Metzmacher1-29/+45
of smb_search_data metze (This used to be commit 78c201db8a47a71908698c4dda2add4cf85694d9)
2007-10-10r16708: the packet format of SMB2 SessionSetup has changed,Stefan Metzmacher1-4/+9
there're 8 more unknown bytes... Note: - vista-CTP also support this as a server, but uses the old format as client - but vista-beta2 only uses and accept the new format metze (This used to be commit b3bdd4afdefc9ad3550f86a0aa6e6c90bf8ab416)
2007-10-10r16699: the layout of SMB2 Read and Write is identical...Stefan Metzmacher1-3/+1
so we know that the 9th bytes is just uninitialized padding metze (This used to be commit f97a21b970ed23973cced2c67b5bc9ecd7afee88)
2007-10-10r15814: add SMB2 Lock interface structureStefan Metzmacher1-1/+33
metze (This used to be commit 8f1850ef65dc8c860912639d787d82399d015f13)