summaryrefslogtreecommitdiff
path: root/source4/libcli/raw/interfaces.h
AgeCommit message (Collapse)AuthorFilesLines
2012-04-18Add smb_raw_setfsinfo() - currently only available level is ↵Jeremy Allison1-0/+20
SMB_SET_CIFS_UNIX_INFO.
2012-03-03s4:libcli:smb2: add durable handle v2 data to the smb2_create i/o structureMichael Adam1-0/+13
2011-10-30source4/libcli: add bool durable_open to smb2_create.out.Michael Adam1-0/+1
The server gives indication whether the open was durable we should record this.
2011-10-19s3: remove duplicate fsctl fn definitionsDavid Disseldorp1-11/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-09-29s4: add SMB2_FSCTL opcodesDavid Disseldorp1-0/+14
Also, skip samba4.smb2.ioctl for now. Snapshots are not supported by default. Autobuild-User: David Disseldorp <ddiss@samba.org> Autobuild-Date: Thu Sep 29 14:47:05 CEST 2011 on sn-devel-104
2011-08-18libcliraw: Install more header files.Jelmer Vernooij1-1/+1
2011-05-06libcli/smb Move cifs posix helper functions and headers in commonAndrew Bartlett1-2/+2
unix_perms_to_wire() was a duplicate symbol in the top level build. Andrew Bartlett
2011-02-25Implement the SMB2 close flag SMB2_CLOSE_FLAGS_FULL_INFORMATION (and move ↵Jeremy Allison1-1/+0
definition to correct place). Thanks to Nick Meier @ Microsoft for finding this @ Connectathon. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Feb 25 00:40:52 CET 2011 on sn-devel-104
2010-03-05s4-pvfs: move the private ntcreatex flags to private_flagsAndrew Tridgell1-0/+3
Re-using two of the create_options bits was bound to eventually cause problems, and indeed, Windows7 now uses one of those bits when opening text files. Fixes bug 7189
2010-02-02Change uint_t to unsigned int in source4Matt Kraai1-10/+10
Signed-off-by: Stefan Metzmacher <metze@samba.org>
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)