1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-25 06:04:04 +03:00

71 Commits

Author SHA1 Message Date
Stefan Metzmacher
7e04c0032b r16951: add the year to the copyright...
metze
(This used to be commit 97157d5c4a829108f1da89b23b91a6cf87879b3a)
2007-10-10 14:10:03 -05:00
Stefan Metzmacher
1fcd8c8a90 r16874: query all information
metze
(This used to be commit 0ff9c5775724a4644dee10ce1476d728b515a569)
2007-10-10 14:09:56 -05:00
Stefan Metzmacher
2e56d833b4 r16739: test SMB2-GETINFO SMB2-SETINFO by make test
metze
(This used to be commit 0ebb25de5680cb783d1d79e580aab3f1f03871bc)
2007-10-10 14:09:43 -05:00
Stefan Metzmacher
dd44e2415c r16738: vista beta2 use FILE_CLOSED as error for an invalid file handle
metze
(This used to be commit fa35ddcaf9bbeaa4780aa3497cdff56b02af0ab9)
2007-10-10 14:09:42 -05:00
Stefan Metzmacher
d584033c6c r16737: if an error happens report it
metze
(This used to be commit 52ce898cf9f11293005683844b8ea428a5d66f8e)
2007-10-10 14:09:42 -05:00
Stefan Metzmacher
f0c737b924 r16736: - convert unix times to nttime before sending it to the wire...
- return an error code if an error happens

metze
(This used to be commit 9b52322e90003302ec99e2808c80c6c733a84358)
2007-10-10 14:09:42 -05:00
Stefan Metzmacher
348ad95ea7 r16725: don't ignore errors
metze
(This used to be commit 42282301961a13055869445eb9d00492bdbbb61b)
2007-10-10 14:09:41 -05:00
Stefan Metzmacher
4da57142b4 r16672: we don't need this twice:-)
metze
(This used to be commit e8e9fe666e4fb6f47e7fcaeb5ef9068db25e18b7)
2007-10-10 14:09:38 -05:00
Stefan Metzmacher
1ce7b027e6 r16668: test setting of security descriptors vis smb2 setinfo
metze
(This used to be commit 377562e891ccb6ff9104bbefca71a8e2c18a34de)
2007-10-10 14:09:37 -05:00
Stefan Metzmacher
d3b3436ce1 r16406: use the generic smb_handle in smb2_getinfo/smb2_setinfo
metze
(This used to be commit dcc02df8297162a7fd913560194d9e821798dbe0)
2007-10-10 14:09:13 -05:00
Stefan Metzmacher
15db7a53e8 r16405: fix compiler warning of missing smb2_handle
metze
(This used to be commit 73194e9ec3d1c18e7042bdaa008c7fd503e6e534)
2007-10-10 14:09:13 -05:00
Jelmer Vernooij
845df42a19 r16333: Move more code out of the core smbtorture. It now no longer
contains protocol-specific code.
(This used to be commit 819d3b457648ffb7526a770e842badc17b6061fb)
2007-10-10 14:09:11 -05:00
Stefan Metzmacher
20532d7c49 r15816: add SMB2-LOCK torture test, which demonstrates what possible valid and invalid
requests you can do with it

metze
(This used to be commit adef1372c118b6c116dfa976d0277be677118fd0)
2007-10-10 14:08:27 -05:00
Stefan Metzmacher
184c28844d r15803: the SMB2 server gives NT_STATUS_NOT_FOUND instead of NT_STATUS_INVALID_HANDLE
metze
(This used to be commit aa98aad0975e59fc8cf56c624f728b33ab54e099)
2007-10-10 14:08:25 -05:00
Stefan Metzmacher
f9ddc0dde5 r15759: samba4 currently only supports read sizes up to with UINT16_MAX
metze
(This used to be commit 05ced31cb91eb1f170cb87d6964cf65daba43493)
2007-10-10 14:08:15 -05:00
Stefan Metzmacher
e306c5bf12 r15741: move smb2 request structures into the main smb request structs
as new levels

metze
(This used to be commit 91806353174704857dfcc15a730af7232cfde660)
2007-10-10 14:08:11 -05:00
Jelmer Vernooij
a427a9bc53 r15599: Fix more popt dependencies - these should be the last ones
(This used to be commit b26e38cb62d6180e1896a6ab1cd291b0e7900afa)
2007-10-10 14:06:03 -05:00
Stefan Metzmacher
dc86ab3e45 r15532: add a BOOL body_dynamic_present, because the body_dynamic_size can be 0
also if the dynamic flag should be set

metze
(This used to be commit 7829100e1ee79f4f5d24004af221288e19c09b3e)
2007-10-10 14:05:54 -05:00
Jelmer Vernooij
69b51f702a r15207: Introduce PRIVATE_DEPENDENCIES and PUBLIC_DEPENDENCIES as replacement
for REQUIRED_SUBSYSTEMS.
(This used to be commit adc8a019b6da256f104abed1b82bfde6998a2ac9)
2007-10-10 14:04:18 -05:00
Jelmer Vernooij
909b111f58 r14720: Add torture_context argument to all torture tests
(This used to be commit 3c7a5ce29108dd82210dc3e1f00414f545949e1d)
2007-10-10 13:59:13 -05:00
Jelmer Vernooij
35349a58df r14542: Remove librpc, libndr and libnbt from includes.h
(This used to be commit 51b4270513752d2eafbe77f9de598de16ef84a1f)
2007-10-10 13:58:42 -05:00
Jelmer Vernooij
8528016978 r14464: Don't include ndr_BASENAME.h files unless strictly required, instead
try to include just the BASENAME.h files (containing only structs)
(This used to be commit 3dd477ca5147f28a962b8437e2611a8222d706bd)
2007-10-10 13:57:27 -05:00
Stefan Metzmacher
a1b295ed48 r14256: - rename smb_file -> smb_handle
- 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-10 13:57:06 -05:00
Stefan Metzmacher
307e43bb56 r14173: change smb interface structures to always use
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-10 13:56:57 -05:00
Stefan Metzmacher
1a53c1dc92 r13346: use private proto header files for the torture tests
metze
(This used to be commit 67837dbd2bcff8ec1917ba02884ee2eaa0776b46)
2007-10-10 13:51:47 -05:00
Jelmer Vernooij
63d718e243 r12696: Reduce the size of include/structs.h
(This used to be commit 63917616016133c623fc6ff59454bc313ee7dd8f)
2007-10-10 13:49:40 -05:00
Jelmer Vernooij
78c50015bb r12694: Move some headers to the directory of the subsystem they belong to.
(This used to be commit c722f665c90103f3ed57621c460e32ad33e7a8a3)
2007-10-10 13:49:39 -05:00
Jelmer Vernooij
d4de4c2d21 r12608: Remove some unused #include lines.
(This used to be commit 70e7449318aa0e9d2639c76730a7d1683b2f4981)
2007-10-10 13:49:03 -05:00
Jelmer Vernooij
2cd5ca7d25 r12542: Move some more prototypes out to seperate headers
(This used to be commit 0aca5fd5130d980d07398f3291d294202aefe3c2)
2007-10-10 13:47:55 -05:00
Jelmer Vernooij
d8e35f8828 r12498: Eliminate INIT_OBJ_FILES and ADD_OBJ_FILES. We were not using
the difference between these at all, and in the future the
fact that INIT_OBJ_FILES include smb_build.h will be sufficient to
have recompiles at the right time.
(This used to be commit b24f2583edee38abafa58578d8b5c4b43e517def)
2007-10-10 13:47:45 -05:00
Stefan Metzmacher
89f5d66dfe r12114: - smb2_keepalive() acts on the smb2_transport
- smb2_logoff() acts on the smb2_session

metze
(This used to be commit ae1ca2bb4affefff1026c03f0765faf28c2b316b)
2007-10-10 13:47:10 -05:00
Andrew Tridgell
51b1deee5d r12007: fixed a valgrind error in the SMB2-SETINFO test
(This used to be commit 0c3223ab7db93a31121667c65956f30a5b0ec9f8)
2007-10-10 13:46:58 -05:00
Tim Potter
03d301ead5 r11967: Fix more 64-bit warnings.
(This used to be commit 9c4436a124f874ae240feaf590141d48c33a635f)
2007-10-10 13:46:52 -05:00
Tim Potter
ad02b0bee4 r11965: Try to fix some 64-bit warnings.
(This used to be commit e98c28941a6002042e0e429f99f14e7dd4920aa6)
2007-10-10 13:46:51 -05:00
Andrew Tridgell
42cba737c0 r11907: added testing of SMB2 keepalive
(This used to be commit 6096d23fe0e58b6c3e4174a70a0faebd88fd5f79)
2007-10-10 13:46:47 -05:00
Andrew Tridgell
1e3583475f r11905: added SMB2_FLUSH as opcode 7. Thanks to metze and volker for help
brainstorming this one.
(This used to be commit a969ad592ae4cd8f7c66b1df4763fdc70328c967)
2007-10-10 13:46:47 -05:00
Andrew Tridgell
43405e0744 r11904: added smb2_tdis() testing
(This used to be commit e2ed615a44d825f8c46755408a1a1657222a508b)
2007-10-10 13:46:46 -05:00
Andrew Tridgell
2ede0b162c r11902: added smb2_logoff() testing
(This used to be commit ff50377822fa48eab7f66275098782241ca50f40)
2007-10-10 13:46:46 -05:00
Andrew Tridgell
5fc1b68683 r11890: added tests for the last few fields in SMB2 find requests
(This used to be commit 77d1938e96e02fc93c411197869cc6a1fc4451d1)
2007-10-10 13:46:42 -05:00
Andrew Tridgell
3294bf59aa r11850: added a test suite for the SMB2 find calls
(This used to be commit 3ac32d802bba96e5cbcebc4b536258eb0981a9e4)
2007-10-10 13:46:38 -05:00
Andrew Tridgell
fc04e3e795 r11801: - added basic SMB2 find support
- added SMB2-SCANFIND test

- cleaned up continue flags in EAs and find requests
(This used to be commit 8792bc07d927e6470874230153177748afae3ee8)
2007-10-10 13:46:29 -05:00
Andrew Tridgell
7d6f36682e r11800: - filled in unknown fields in SMB2 all_info level
- allow setting of the ALL_EAS flags bits in SMB2 getinfo
(This used to be commit 8c7c54a46dfb91c053d07a5e606892a41213c605)
2007-10-10 13:46:29 -05:00
Andrew Tridgell
d5f37ecf94 r11780: it turns out that the MxAc tag isn't a security descriptor, its a
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-10 13:46:26 -05:00
Andrew Tridgell
3922b68d13 r11777: display the security_descriptor in torture_smb2_all_info()
(This used to be commit d1067fc25df57b1b6ef59a69f979ed76df5c46cd)
2007-10-10 13:46:25 -05:00
Andrew Tridgell
1692b2e571 r11776: no need to call out to SMB to setup test files for SMB2 any more
(This used to be commit dae70c5baed7d5613d793dca15dda3007c1a690a)
2007-10-10 13:46:25 -05:00
Andrew Tridgell
c8c7fb2492 r11775: added support for creating files on SMB2 with initial EA lists and an ACL
(This used to be commit ff197092988cee64742f83df23c43ae664a196f9)
2007-10-10 13:46:25 -05:00
Andrew Tridgell
d931455e6e r11773: added a SMB2-SETINFO test suite. This tests the following levels:
BASIC_INFORMATION
DISPOSITION_INFORMATION
ALLOCATION_INFORMATION
END_OF_FILE_INFORMATION
POSITION_INFORMATION
MODE_INFORMATION
(This used to be commit 8804b6a7eb59ab0a9088f89d191194fba71befe3)
2007-10-10 13:46:24 -05:00
Andrew Tridgell
eedb92ce72 r11758: unified the parse code for the SMB and SMB2 qfsinfo and qfileinfo calls
(This used to be commit ba897e537b9a1544dc214e9d5504c87fee6fced2)
2007-10-10 13:46:23 -05:00
Andrew Tridgell
7a43b32c3b r11755: added names for all of the SMB2 qfs info levels (they all map exactly
to equivalent SMB qfs levels)
(This used to be commit 4ce48d02aa12d6fa699bf8b250b14851870f0096)
2007-10-10 13:46:23 -05:00
Andrew Tridgell
553361797f r11753: change the getinfo scanner to scan with both a file and a directory, and to use files
that have streams and EAs
(This used to be commit f739431927e9600e914204930f1e862a367a7368)
2007-10-10 13:46:22 -05:00