summaryrefslogtreecommitdiffstats
path: root/source4/libcli/raw/interfaces.h
Commit message (Collapse)AuthorAgeFilesLines
* s4:libcli/raw: make short_name available in bufferRalph Boehme2014-12-041-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>
* s4:libcli/smb2: add new_epoch to struct smb2_lease_breakStefan Metzmacher2014-11-271-0/+1
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* s4:libcli/raw: use smb_setfsinfo_level in smb_setfsinfoStefan Metzmacher2014-11-251-2/+2
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* s4:libcli/raw: Make flags2 and offset available to callers of readxChristof Schmitt2014-08-301-0/+2
| | | | | | | This will be used by smbtorture. Signed-off-by: Christof Schmitt <cs@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
* libsmb: Put the "smb2_lease" struct into idlVolker Lendecke2014-06-121-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
* libsmb: Move "struct smb2_lease" to commonVolker Lendecke2013-04-301-17/+0
| | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* s4:libcli/smb2: add support for SMB2 LEASES v2Stefan Metzmacher2013-04-181-1/+6
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
* s4:libcli: add a app_instance_id member to the smb2_create input structMichael Adam2012-09-191-1/+3
|
* s4:libcli/raw: parse extended SMBtconX responsesStefan Metzmacher2012-07-241-0/+2
| | | | metze
* s4:libcli:raw: fix a comment typo in smb_setfileinfo()Michael Adam2012-05-081-1/+1
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue May 8 20:45:16 CEST 2012 on sn-devel-104
* libcli/smb: move SMB2_IOCTL_FLAG_IS_FSCTL to smb2_constants.hStefan Metzmacher2012-04-271-3/+0
| | | | metze
* Add smb_raw_setfsinfo() - currently only available level is ↵Jeremy Allison2012-04-181-0/+20
| | | | SMB_SET_CIFS_UNIX_INFO.
* s4:libcli:smb2: add durable handle v2 data to the smb2_create i/o structureMichael Adam2012-03-031-0/+13
|
* source4/libcli: add bool durable_open to smb2_create.out.Michael Adam2011-10-301-0/+1
| | | | | The server gives indication whether the open was durable we should record this.
* s3: remove duplicate fsctl fn definitionsDavid Disseldorp2011-10-191-11/+0
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4: add SMB2_FSCTL opcodesDavid Disseldorp2011-09-291-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
* libcliraw: Install more header files.Jelmer Vernooij2011-08-181-1/+1
|
* libcli/smb Move cifs posix helper functions and headers in commonAndrew Bartlett2011-05-061-2/+2
| | | | | | unix_perms_to_wire() was a duplicate symbol in the top level build. Andrew Bartlett
* Implement the SMB2 close flag SMB2_CLOSE_FLAGS_FULL_INFORMATION (and move ↵Jeremy Allison2011-02-251-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
* s4-pvfs: move the private ntcreatex flags to private_flagsAndrew Tridgell2010-03-051-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
* Change uint_t to unsigned int in source4Matt Kraai2010-02-021-10/+10
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4/libcli: rename previously reserved field in SMB2 LOCK structSteven Danneman2009-11-251-1/+1
| | | | | The lock.in.reserved field has been renamed lock_sequence in the SMB 2.1 dialect. See MS-SMB 2.2.26.
* s4-smb: declare root_fid as a file handleAndrew Tridgell2009-10-151-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.
* s4/torture: Add two new SMB RAW-OPEN testsAravind Srinivasan2009-10-011-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.
* libcli/smb: move smb2_create_blob code to libcli/smb/Stefan Metzmacher2009-08-121-7/+1
| | | | | | I want to use this in source3/smbd/ metze
* libcli: move some common SMB and SMB2 stuff into libcli/smb/Stefan Metzmacher2009-08-121-1/+1
| | | | | | This will hold code that's shared between source3 and source4. metze
* s4:libcli: move SMB2 Find constants to smb2_constants.hStefan Metzmacher2009-08-071-16/+0
| | | | metze
* s4:libcli/raw: also include smb2_constants.h into interfaces.hStefan Metzmacher2009-08-071-1/+2
| | | | metze
* s4:libcli: move SMB2 lock flags to smb2_constants.hStefan Metzmacher2009-07-021-7/+0
| | | | metze
* s4:smb2: Add lease break support for SMB2.1Zach Loafman2009-04-011-1/+22
| | | | | Add the structures and marshalling for the lease break variants of the oplock break / oplock break ack messages.
* s4:smb2: Add rudimentary SMB2.1 lease support to libcliZach Loafman2009-03-281-0/+12
| | | | Add the structures, constants, and marshalling for SMB2.1 leases.
* s4:libcli/raw: s/private/private_dataStefan Metzmacher2009-02-021-1/+1
| | | | metze
* added the structure for LINK_INFORMATION setfileinfo callAndrew Tridgell2008-09-241-0/+13
|
* added FULL_EA_INFORMATION setea callAndrew Tridgell2008-09-231-0/+9
|
* libcli/raw: the nttrans setup count is only 8-bitStefan Metzmacher2008-07-071-1/+1
| | | | | metze (This used to be commit a65599cc83a12ec61e5a6ba6ad9628619a0dc8a3)
* updated some info levels based on WSPP docsAndrew Tridgell2008-06-021-4/+13
| | | | (This used to be commit f84620324a8cebcd2fd19388d910928ca1ad1334)
* added support for returning the maximal access MXAC tag in SMB2 createAndrew Tridgell2008-05-291-1/+8
| | | | (This used to be commit 4eb49335d5f0319f9aa47ded5215a2977d3336bf)
* added support for all of the known SMB2 create tags in our clientAndrew Tridgell2008-05-281-4/+16
| | | | | library (This used to be commit 597b38e97b01d2137e6ac96ca07cd56fadb2c09e)
* ensure that we honor SMB2 read min_count properlyAndrew Tridgell2008-05-271-1/+1
| | | | (This used to be commit 318038d6f670efffa96d8b0db63f46b3752e1cd3)
* added support for the output fields of SMB2 closeAndrew Tridgell2008-05-271-6/+25
| | | | (This used to be commit 2633bc749792c224acc73a2e4ca723404331c19c)
* stricter checks for valid inputs in SMB2 open and lockAndrew Tridgell2008-05-261-0/+1
| | | | (This used to be commit a7b5689a73adde59de28770aa3949660441291ea)
* fixed parsing of the SMB2 ALL_INFO qfileinfo levelAndrew Tridgell2008-05-221-1/+2
| | | | (This used to be commit a7be5ba22e0cf2c61501f5a05e64673f31ba145c)
* fixed SMB2 flush call, and added flush to gentest_smb2Andrew Tridgell2008-05-211-1/+5
| | | | (This used to be commit c52fe1fe1c77636d87355d3c4baa66e052fe9008)
* fixed SMB2 lockingAndrew Tridgell2008-05-211-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)
* update some SMB2 find flagsAndrew Tridgell2008-05-151-3/+4
| | | | (This used to be commit b7560afd4bab984c0083e9687b69bc42970ad932)
* libcli: define structure for SMB2 BreakStefan Metzmacher2008-04-191-1/+16
| | | | | metze (This used to be commit 5ffea702c3a1c92a797afab1a3cadf2f2a18729f)
* libcli/smb2: make it possible to pass additional extra blobs in smb2_create()Stefan Metzmacher2008-04-171-0/+8
| | | | | | | This also fixes the alignment from 8 to 4 byte bounderies. metze (This used to be commit e0a0d8e36acd735b587cd7870625af52c5dc3431)
* fill in unknown fields in SMB2 READ callAndrew Tridgell2008-04-141-5/+13
| | | | (This used to be commit 9b686c138037f613da15168d0722786e00f023e5)
* libcli/raw: add RAW_RENAME_NTTRANS supportStefan Metzmacher2008-03-111-1/+12
| | | | | | | metze Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be commit bfe773a620640fa46efe008f38144f5452350825)
* A better way to handle the different format of RenameInformation in SMB2Andrew Tridgell2008-02-141-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)