summaryrefslogtreecommitdiff
path: root/source4/torture/smb2/getinfo.c
Commit message (Collapse)AuthorAgeFilesLines
* s4: torture: Add a TALLOC_CTX * to torture_smb2_getinfo_init().Jeremy Allison2017-05-051-2/+2
| | | | | Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ralph Böhme <slow@samba.org>
* s4:torture:smb2 prefer torture_comment() to printf().Günther Deschner2016-09-071-14/+14
| | | | | | | Guenther Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: Uri Simchoni <uri@samba.org>
* s4:torture:smb2:getinfo: prefer torture_comment() to printf().Günther Deschner2016-09-071-5/+5
| | | | | | | Guenther Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: Uri Simchoni <uri@samba.org>
* seltest: implicit FILE_READ_DATA non-reportingUri Simchoni2016-08-161-0/+45
| | | | | | | | | | | | This test (passes against Windows Server 2012R2) shows that the implicit FILE_READ_DATA that is added whenever FILE_EXECUTE is granted, is not reported back when querying the handle. BUG: https://bugzilla.samba.org/show_bug.cgi?id=12149 Signed-off-by: Uri Simchoni <uri@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
* torture: test FS_SECTOR_SIZE_INFORMATION queriesDavid Disseldorp2015-03-181-1/+2
| | | | | | | | | The smb2.fsinfo test is run against ntvfs and s3fs. With both now offering support for the FS_SECTOR_SIZE_INFORMATION query-info level, it can be added to the existing level enumeration. Signed-off-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* torture: Remove an unused variableVolker Lendecke2013-10-061-1/+0
| | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* torture: Continue buffer check after NOT_IMPLEMENTED infolevelsVolker Lendecke2013-10-061-0/+3
| | | | | | | | | Patch from the SDC plugfest. Not every implementation supports every infolevel, and we want to be able to test buffersize error behaviour for all supported infolevels Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* torture: Add buffercheck testsVolker Lendecke2013-08-291-18/+226
| | | | | | | | | | | | | Make sure we get the smb2 infolevel fixed portions right I could not find correct #defines for the infolevels Bug: https://bugzilla.samba.org/show_bug.cgi?id=10106 Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Thu Aug 29 01:27:11 CEST 2013 on sn-devel-104
* torture: Split the fsinfo check into a separate testVolker Lendecke2013-08-231-2/+8
| | | | | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Fri Aug 23 20:53:12 CEST 2013 on sn-devel-104
* torture: Split the buffercheck into a separate testVolker Lendecke2013-08-231-2/+9
| | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* torture: Change smb2.getinfo into a suiteVolker Lendecke2013-08-231-1/+10
| | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* torture: Remove an unused variableVolker Lendecke2013-08-231-3/+0
| | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* s4:torture: smb2.getinfo test return status of stream creationGregor Beck2012-03-071-2/+6
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:torture: avoid reporting error on failure of smb2.getinfo testGregor Beck2012-03-061-54/+32
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* SMB2-GETINFO: test SMB2_ALL_EASStefan Metzmacher2009-07-151-2/+2
| | | | metze
* Remove unused include param/param.h.Jelmer Vernooij2008-10-241-2/+0
|
* check for requested buffer size in getinfo callAndrew Tridgell2008-05-311-0/+35
| | | | (This used to be commit ed8f16379d01d3dffd2645e2b275aa27507dfec9)
* minor cleanup in SMB2 getinfo testAndrew Tridgell2008-05-221-6/+6
| | | | (This used to be commit b139b471072f20288f126b5a9ee7613cc6c40681)
* disable the EAS level in SMB2-GETINFO test until we get some feedbackAndrew Tridgell2008-02-181-4/+6
| | | | | on how the alignment requirements have changed (This used to be commit 2a474568c2f85603657a97ad658089122a1f4f19)
* r26250: Avoid global_loadparm in a couple more places.Jelmer Vernooij2007-12-211-3/+3
| | | | (This used to be commit 2c6b755309fdf685cd0b0564272bf83038574a43)
* r26238: Add a loadparm context parameter to torture_context, remove more ↵Jelmer Vernooij2007-12-211-1/+1
| | | | | | uses of global_loadparm. (This used to be commit a33a5530545086b81a3b205aa109dff11c546926)
* r25554: Convert last instances of BOOL, True and False to the standard types.Jelmer Vernooij2007-10-101-12/+12
| | | | (This used to be commit 566aa14139510788548a874e9213d91317f83ca9)
* r25430: Add the loadparm context to all parametric options.Jelmer Vernooij2007-10-101-1/+1
| | | | (This used to be commit fd697d77c9fe67a00939a1f04b35c451316fff58)
* r25035: Fix some more warnings, use service pointer rather than service ↵Jelmer Vernooij2007-10-101-1/+1
| | | | | | number in more places. (This used to be commit df9cebcb97e20564359097148665bd519f31bc6f)
* r25026: Move param/param.h out of includes.hJelmer Vernooij2007-10-101-0/+2
| | | | (This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
* r23792: convert Samba4 to GPLv3Andrew Tridgell2007-10-101-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)
* r19392: Use torture_setting_* rather than lp_parm_* where possible.Jelmer Vernooij2007-10-101-1/+1
| | | | (This used to be commit b28860978fe29c5b10abfb8c59d7182864e21dd6)
* r16739: test SMB2-GETINFO SMB2-SETINFO by make testStefan Metzmacher2007-10-101-0/+3
| | | | | metze (This used to be commit 0ebb25de5680cb783d1d79e580aab3f1f03871bc)
* r16737: if an error happens report itStefan Metzmacher2007-10-101-2/+7
| | | | | metze (This used to be commit 52ce898cf9f11293005683844b8ea428a5d66f8e)
* r14720: Add torture_context argument to all torture testsJelmer Vernooij2007-10-101-1/+2
| | | | (This used to be commit 3c7a5ce29108dd82210dc3e1f00414f545949e1d)
* r14256: - rename smb_file -> smb_handleStefan Metzmacher2007-10-101-2/+2
| | | | | | | | - move it into the in/out substructs again - allow file.path only on smb_fileinfo/smb_setfileinfo metze (This used to be commit be6d5298a2cdb7e7c61d70471bad445645af5963)
* r14173: change smb interface structures to always useStefan Metzmacher2007-10-101-6/+6
| | | | | | | | | | | | | a union smb_file, to abtract - const char *path fot qpathinfo and setpathinfo - uint16_t fnum for SMB - smb2_handle handle for SMB2 the idea is to later add a struct ntvfs_handle *ntvfs so that the ntvfs subsystem don't need to know the difference between SMB and SMB2 metze (This used to be commit 2ef3f5970901b5accdb50f0d0115b5d46b0c788f)
* r13346: use private proto header files for the torture testsStefan Metzmacher2007-10-101-0/+2
| | | | | metze (This used to be commit 67837dbd2bcff8ec1917ba02884ee2eaa0776b46)
* r12608: Remove some unused #include lines.Jelmer Vernooij2007-10-101-1/+0
| | | | (This used to be commit 70e7449318aa0e9d2639c76730a7d1683b2f4981)
* r11801: - added basic SMB2 find supportAndrew Tridgell2007-10-101-4/+4
| | | | | | | - added SMB2-SCANFIND test - cleaned up continue flags in EAs and find requests (This used to be commit 8792bc07d927e6470874230153177748afae3ee8)
* r11800: - filled in unknown fields in SMB2 all_info levelAndrew Tridgell2007-10-101-1/+9
| | | | | - allow setting of the ALL_EAS flags bits in SMB2 getinfo (This used to be commit 8c7c54a46dfb91c053d07a5e606892a41213c605)
* r11776: no need to call out to SMB to setup test files for SMB2 any moreAndrew Tridgell2007-10-101-4/+11
| | | | (This used to be commit dae70c5baed7d5613d793dca15dda3007c1a690a)
* r11758: unified the parse code for the SMB and SMB2 qfsinfo and qfileinfo callsAndrew Tridgell2007-10-101-49/+108
| | | | (This used to be commit ba897e537b9a1544dc214e9d5504c87fee6fced2)
* r11755: added names for all of the SMB2 qfs info levels (they all map exactlyAndrew Tridgell2007-10-101-7/+7
| | | | | to equivalent SMB qfs levels) (This used to be commit 4ce48d02aa12d6fa699bf8b250b14851870f0096)
* r11730: added parsing and tests for a bunch more SMB2 getinfo levelsAndrew Tridgell2007-10-101-0/+116
(This used to be commit ca65bf0235cbfab451e5d5ceac9f714acc0cd46c)