summaryrefslogtreecommitdiff
path: root/source4/libcli/raw/interfaces.h
AgeCommit message (Collapse)AuthorFilesLines
2024-08-29s4:libcli: allow smb2_composite_unlink* to truncate the file before closeStefan Metzmacher1-0/+6
This is needed to delete streams... BUG: https://bugzilla.samba.org/show_bug.cgi?id=15656 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
2023-11-07libcli: Fix whitespaceVolker Lendecke1-58/+58
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
2023-08-14s4:libcli: Fix code spellingAndreas Schneider1-5/+5
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2020-04-28Implement alt name query for smb2David Mulder1-1/+3
Implements smb2_qpathinfo_alt_name() and RAW_FILEINFO_SMB2_ALT_NAME_INFORMATION. Signed-off-by: David Mulder <dmulder@suse.com> Reviewed-by: Noel Power <noel.power@suse.com> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit 097df343ce21c8340aee7f42f233fe74b92b47e2)
2019-05-01s4:libcli/raw: add RAW_FILEINFO_NORMALIZED_NAME_INFORMATION supportStefan Metzmacher1-12/+4
This is supported over the wire in SMB 3.1.1 on starting with Windows 10 1803. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13919 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
2019-04-01libsmb: Make "struct smb2_lock_element" generally usableVolker Lendecke1-6/+1
This struct will be of interest when we add locking capabilities to libcli/smb/smb2cli* Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
2019-03-28s4:libcli/smb2: align struct smb_ioctl.smb2 to [MS-SMB2] namesStefan Metzmacher1-7/+8
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13863 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
2019-02-28s4:libcli: remember return code from maximum accessRalph Boehme1-0/+1
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13812 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
2016-08-19pvfs_open win10 fix, need return SMB2_CREATE_TAG_QFIDouyang.xu1-1/+3
Signed-off-by: kkhaike <kkhaike@gmail.com> Reviewed-by: Jeremy Allison <jra@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Uri Simchoni <uri@samba.org> Autobuild-User(master): Uri Simchoni <uri@samba.org> Autobuild-Date(master): Fri Aug 19 09:35:15 CEST 2016 on sn-devel-144
2015-03-18s4/client: add FS_SECTOR_SIZE_INFORMATION query supportDavid Disseldorp1-1/+19
Signed-off-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
2014-12-04s4:libcli/raw: make short_name available in bufferRalph Boehme1-0/+1
This will be used in smb2/create AAPL context torture tests, where the server returns an Mac OS X specific data blob in the short name buffer. It's not a string, so the existing string extraction doesn't cut it. Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
2014-11-27s4:libcli/smb2: add new_epoch to struct smb2_lease_breakStefan Metzmacher1-0/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
2014-11-25s4:libcli/raw: use smb_setfsinfo_level in smb_setfsinfoStefan Metzmacher1-2/+2
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
2014-08-30s4:libcli/raw: Make flags2 and offset available to callers of readxChristof Schmitt1-0/+2
This will be used by smbtorture. Signed-off-by: Christof Schmitt <cs@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
2014-06-12libsmb: Put the "smb2_lease" struct into idlVolker Lendecke1-0/+1
This will make it easier in the future to NDR_PRINT a lease and a lease key Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ronnie Sahlberg <ronniesahlberg@gmail.com> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Thu Jun 12 03:34:41 CEST 2014 on sn-devel-104
2013-04-30libsmb: Move "struct smb2_lease" to commonVolker Lendecke1-17/+0
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2013-04-18s4:libcli/smb2: add support for SMB2 LEASES v2Stefan Metzmacher1-1/+6
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
2012-09-19s4:libcli: add a app_instance_id member to the smb2_create input structMichael Adam1-1/+3
2012-07-24s4:libcli/raw: parse extended SMBtconX responsesStefan Metzmacher1-0/+2
metze
2012-05-08s4:libcli:raw: fix a comment typo in smb_setfileinfo()Michael Adam1-1/+1
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue May 8 20:45:16 CEST 2012 on sn-devel-104
2012-04-27libcli/smb: move SMB2_IOCTL_FLAG_IS_FSCTL to smb2_constants.hStefan Metzmacher1-3/+0
metze
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)