summaryrefslogtreecommitdiff
path: root/source4/torture/smb2/util.c
AgeCommit message (Collapse)AuthorFilesLines
2008-05-30implemented client side SMB2 signingAndrew Tridgell1-1/+4
This doessn't work against Windows yet, and I've submitted a WSPP request for clarification of the docs to try and find out why. Meanwhile this is no worse than what we had, as it only gets used when the server demands signing, and we didn't work then anyway. (This used to be commit b788096add3586d7277efcd3bf5ca7f3a604cb7a)
2008-05-20moved these util functions into libcliAndrew Tridgell1-26/+0
(This used to be commit b2f1154bc338fb56fc998f40159156cb6859075b)
2008-05-19added mkdir to SMB2 proxyAndrew Tridgell1-19/+5
(This used to be commit 1323aab11fbf346e19c4cef227d727ddfcaa7d60)
2008-04-16Avoid event_find_context when a event context is already available.Jelmer Vernooij1-1/+1
(This used to be commit 4ca264679ecfd938c538a93f4efff1bfa23c3744)
2008-02-18open a root handle in SMB2 should use a NULL filename, not a zero lengthAndrew Tridgell1-1/+2
filename (This used to be commit a29dd708bf26440552ffa9d83332329b4c108857)
2008-02-13updated SMB2 create operation to match WSPP.Andrew Tridgell1-20/+20
Adding some defined for various new create options (This used to be commit d037dc23ced3df6bce98cbf4810fb5f1247336bd)
2007-12-21r26376: Add context for libcli_resolve.Jelmer Vernooij1-1/+2
(This used to be commit 459e1466a411d6f83b7372e248566e6e71c745fc)
2007-12-21r26267: Fix two calls of smb2_connect I missed.Jelmer Vernooij1-1/+3
(This used to be commit fc824a5c457e341995c14bd1cf34894ffc4c62c2)
2007-12-21r26238: Add a loadparm context parameter to torture_context, remove more ↵Jelmer Vernooij1-5/+5
uses of global_loadparm. (This used to be commit a33a5530545086b81a3b205aa109dff11c546926)
2007-10-10r25554: Convert last instances of BOOL, True and False to the standard types.Jelmer Vernooij1-6/+6
(This used to be commit 566aa14139510788548a874e9213d91317f83ca9)
2007-10-10r25430: Add the loadparm context to all parametric options.Jelmer Vernooij1-2/+2
(This used to be commit fd697d77c9fe67a00939a1f04b35c451316fff58)
2007-10-10r25159: fix missing declarations warningStefan Metzmacher1-0/+2
metze (This used to be commit 3d321a5efc22f8a702095f7704a36325a97db138)
2007-10-10r25035: Fix some more warnings, use service pointer rather than service ↵Jelmer Vernooij1-2/+3
number in more places. (This used to be commit df9cebcb97e20564359097148665bd519f31bc6f)
2007-10-10r25026: Move param/param.h out of includes.hJelmer Vernooij1-0/+1
(This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
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-10r18301: I discovered how to load the warnings from a build farm build intoAndrew Tridgell1-2/+2
emacs compile mode (hint, paste to a file, and compile as "cat filename"). This allowed me to fix nearly all the warnings for a IA_64 SuSE build very quickly. (This used to be commit eba6c84efff735bb0ca941ac4b755ce2b0591667)
2007-10-10r16874: query all informationStefan Metzmacher1-2/+2
metze (This used to be commit 0ff9c5775724a4644dee10ce1476d728b515a569)
2007-10-10r16736: - convert unix times to nttime before sending it to the wire...Stefan Metzmacher1-15/+25
- return an error code if an error happens metze (This used to be commit 9b52322e90003302ec99e2808c80c6c733a84358)
2007-10-10r15741: move smb2 request structures into the main smb request structsStefan Metzmacher1-8/+8
as new levels metze (This used to be commit 91806353174704857dfcc15a730af7232cfde660)
2007-10-10r14464: Don't include ndr_BASENAME.h files unless strictly required, insteadJelmer Vernooij1-0/+1
try to include just the BASENAME.h files (containing only structs) (This used to be commit 3dd477ca5147f28a962b8437e2611a8222d706bd)
2007-10-10r14256: - rename smb_file -> smb_handleStefan Metzmacher1-3/+3
- move it into the in/out substructs again - allow file.path only on smb_fileinfo/smb_setfileinfo metze (This used to be commit be6d5298a2cdb7e7c61d70471bad445645af5963)
2007-10-10r14173: change smb interface structures to always useStefan Metzmacher1-3/+3
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)
2007-10-10r12608: Remove some unused #include lines.Jelmer Vernooij1-1/+0
(This used to be commit 70e7449318aa0e9d2639c76730a7d1683b2f4981)
2007-10-10r11967: Fix more 64-bit warnings.Tim Potter1-5/+5
(This used to be commit 9c4436a124f874ae240feaf590141d48c33a635f)
2007-10-10r11800: - filled in unknown fields in SMB2 all_info levelAndrew Tridgell1-10/+37
- allow setting of the ALL_EAS flags bits in SMB2 getinfo (This used to be commit 8c7c54a46dfb91c053d07a5e606892a41213c605)
2007-10-10r11780: it turns out that the MxAc tag isn't a security descriptor, its aAndrew Tridgell1-13/+1
request that the server return its own MxAc blob which contains the maximum allowed access_mask for the returned file handle (This used to be commit c0288aa8cd46ca384074f89430c226d725c39475)
2007-10-10r11777: display the security_descriptor in torture_smb2_all_info()Andrew Tridgell1-0/+10
(This used to be commit d1067fc25df57b1b6ef59a69f979ed76df5c46cd)
2007-10-10r11776: no need to call out to SMB to setup test files for SMB2 any moreAndrew Tridgell1-38/+46
(This used to be commit dae70c5baed7d5613d793dca15dda3007c1a690a)
2007-10-10r11775: added support for creating files on SMB2 with initial EA lists and ↵Andrew Tridgell1-26/+28
an ACL (This used to be commit ff197092988cee64742f83df23c43ae664a196f9)
2007-10-10r11773: added a SMB2-SETINFO test suite. This tests the following levels:Andrew Tridgell1-0/+151
BASIC_INFORMATION DISPOSITION_INFORMATION ALLOCATION_INFORMATION END_OF_FILE_INFORMATION POSITION_INFORMATION MODE_INFORMATION (This used to be commit 8804b6a7eb59ab0a9088f89d191194fba71befe3)
2007-10-10r11758: unified the parse code for the SMB and SMB2 qfsinfo and qfileinfo callsAndrew Tridgell1-35/+38
(This used to be commit ba897e537b9a1544dc214e9d5504c87fee6fced2)
2007-10-10r11755: added names for all of the SMB2 qfs info levels (they all map exactlyAndrew Tridgell1-0/+8
to equivalent SMB qfs levels) (This used to be commit 4ce48d02aa12d6fa699bf8b250b14851870f0096)
2007-10-10r11741: - the buffer code (first 2 bytes in the SMB2 body) seem to be the lengthStefan Metzmacher1-5/+4
of the fixed body part, and +1 if there's a dynamic part - there're 3 types of dynamic blobs with uint16_t offset/uint16_t size with uint16_t offset/uint32_t size with uint32_t offset/uint32_t size /* aligned to 8 bytes */ - strings are transmitted in UTF-16 with no termination and packet into a uint16/uint16 blob metze (This used to be commit 79103c51e5c752fbdb4d25a0047b65002828df89)
2007-10-10r11736: display EAs and streams in smb2 torture testsAndrew Tridgell1-0/+28
(This used to be commit 2baea9a5ec0a805b90c8b48454e395ce40a35a74)
2007-10-10r11730: added parsing and tests for a bunch more SMB2 getinfo levelsAndrew Tridgell1-0/+199
(This used to be commit ca65bf0235cbfab451e5d5ceac9f714acc0cd46c)