Jelmer Vernooij
dd0da89e84
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
...
(This used to be commit ece878c1f9251b83598508e23ce0015b4db72f0a)
2008-04-17 13:05:25 +02:00
Stefan Metzmacher
8d6af0a8ad
SMB2-PERSISTENT-HANDLES1: verify some more fields
...
metze
(This used to be commit ae0a7d0918cc15309a6d1166885f23531365007c)
2008-04-17 03:52:45 +02:00
Stefan Metzmacher
4dc59022e8
torture/smb2: add SMB2-PERSISTENT-HANDLES1 test
...
This demonstrates that the file seek position
is still available on reconnected persistent handles.
metze
(This used to be commit 30e04ae3a02596de03d06874ff5dfc0ddc3bf902)
2008-04-17 02:39:32 +02:00
Stefan Metzmacher
17e41720d9
torture/smb2: add torture_suite_add_2smb2_test() helper function
...
metze
(This used to be commit d70afbb0673184ed067e5f1c7608536025a3cca7)
2008-04-17 02:39:30 +02:00
Stefan Metzmacher
1fe057f2e8
torture/smb2: fix whitespaces
...
metze
(This used to be commit 66c0f331a231ea8897bd8f83658c86b1d2c85d62)
2008-04-17 02:39:30 +02:00
Jelmer Vernooij
4b9c7df9b7
Avoid event_find_context when a event context is already available.
...
(This used to be commit 4ca264679ecfd938c538a93f4efff1bfa23c3744)
2008-04-16 23:06:27 +02:00
Jelmer Vernooij
e9017ba418
Use _OBJ_FILES variables in a couple more places.
...
(This used to be commit 92856d5054106894b65cd1a1b5119c0facfc4cff)
2008-04-14 17:22:58 +02:00
Jelmer Vernooij
afe3e8172d
Install public header files again and include required prototypes.
...
(This used to be commit 47ffbbf67435904754469544390b67d34c958343)
2008-04-02 04:53:27 +02:00
Andrew Tridgell
0e03c3aa89
disable the EAS level in SMB2-GETINFO test until we get some feedback
...
on how the alignment requirements have changed
(This used to be commit 2a474568c2f85603657a97ad658089122a1f4f19)
2008-02-18 14:55:30 +11:00
Andrew Tridgell
10a374421b
open a root handle in SMB2 should use a NULL filename, not a zero length
...
filename
(This used to be commit a29dd708bf26440552ffa9d83332329b4c108857)
2008-02-18 14:54:59 +11:00
Andrew Tridgell
b640f475be
updated SMB2 code for getinfo according to WSPP docs
...
- Updated getinfo structures and field names
- also updated the protocol revision number handling to reflect
new docs
(This used to be commit 3aaa2e86d94675c6c68d66d75292c3e34bfbc81b)
2008-02-14 17:11:36 +11:00
Andrew Tridgell
88d2e05227
updated SMB2 create operation to match WSPP.
...
Adding some defined for various new create options
(This used to be commit d037dc23ced3df6bce98cbf4810fb5f1247336bd)
2008-02-13 15:05:44 +11:00
Jelmer Vernooij
5f4842cf65
r26376: Add context for libcli_resolve.
...
(This used to be commit 459e1466a411d6f83b7372e248566e6e71c745fc)
2007-12-21 05:49:12 +01:00
Jelmer Vernooij
1f69adddc5
r26267: Fix two calls of smb2_connect I missed.
...
(This used to be commit fc824a5c457e341995c14bd1cf34894ffc4c62c2)
2007-12-21 05:47:43 +01:00
Jelmer Vernooij
ab69eb8d89
r26250: Avoid global_loadparm in a couple more places.
...
(This used to be commit 2c6b755309fdf685cd0b0564272bf83038574a43)
2007-12-21 05:47:28 +01:00
Jelmer Vernooij
bbdfbf8d9d
r26238: Add a loadparm context parameter to torture_context, remove more uses of global_loadparm.
...
(This used to be commit a33a5530545086b81a3b205aa109dff11c546926)
2007-12-21 05:47:20 +01:00
Jelmer Vernooij
934e932387
r26235: Avoid global_loadparm.
...
(This used to be commit e9039782204389cc827e76da319d5ccf6d33be46)
2007-12-21 05:47:13 +01:00
Stefan Metzmacher
dae6a24532
r25579: BOOL -> bool
...
metze
(This used to be commit 058a0619e9218586e73ae920f45621cf00d8b828)
2007-10-10 15:07:59 -05:00
Jelmer Vernooij
2151cde580
r25554: Convert last instances of BOOL, True and False to the standard types.
...
(This used to be commit 566aa14139510788548a874e9213d91317f83ca9)
2007-10-10 15:07:55 -05:00
Jelmer Vernooij
60a1046c5c
r25430: Add the loadparm context to all parametric options.
...
(This used to be commit fd697d77c9fe67a00939a1f04b35c451316fff58)
2007-10-10 15:07:31 -05:00
Stefan Metzmacher
803e57da44
r25159: fix missing declarations warning
...
metze
(This used to be commit 3d321a5efc22f8a702095f7704a36325a97db138)
2007-10-10 15:06:44 -05:00
Jelmer Vernooij
98b57d5eb6
r25035: Fix some more warnings, use service pointer rather than service number in more places.
...
(This used to be commit df9cebcb97e20564359097148665bd519f31bc6f)
2007-10-10 15:05:43 -05:00
Jelmer Vernooij
ffeee68e4b
r25026: Move param/param.h out of includes.h
...
(This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
2007-10-10 15:05:38 -05:00
Andrew Tridgell
0479a2f1cb
r23792: convert Samba4 to GPLv3
...
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-10 14:59:12 -05:00
Stefan Metzmacher
d15e4d30e6
r22894: don't send a 2nd request before the last one returned (at least with
...
STATUS_PENDING) otherwise longhorn beta3 just drops the connection
metze
(This used to be commit 503644a5e3b005e0660aca33a880de8d87d0d8aa)
2007-10-10 14:52:29 -05:00
Stefan Metzmacher
5151068d5a
r22858: - let SMB2-LOCK-VALID-REQUEST pass against longhorn beta3
...
- add modify the SMB2-LOCK-BLOCK-WRITE test to also test reading
and name in SMB2-LOCK-RW-EXCLUSIV
- add SMB2-LOCK-NONE and SMB2-LOCK-SHARED
metze
(This used to be commit 258555975d3877cff3bc3022f3439cdd61f6c8ac)
2007-10-10 14:52:24 -05:00
Stefan Metzmacher
4bb3160555
r22824: - add a simple test which shows how a lock rejects
...
a write on a different file handle.
SMB2-LOCK-BLOCK-WRITE
- make it possible to run each SMB2-LOCK-* test on its own
metze
(This used to be commit 9c02f690bc07ebf99cb272e255a24d7061d8e730)
2007-10-10 14:52:20 -05:00
Stefan Metzmacher
65881651c6
r22407: this dependecies should be private
...
metze
(This used to be commit 7ad60e62fd4fb1317cc86ef430d35d2c54fd20c2)
2007-10-10 14:51:15 -05:00
Stefan Metzmacher
8d569e174f
r21524: don't send unitialized data to the socket
...
metze
(This used to be commit 50955aa669c11a2ba20e2ce335dcb4bc3a178109)
2007-10-10 14:48:51 -05:00
Jelmer Vernooij
a39f239cb2
r19392: Use torture_setting_* rather than lp_parm_* where possible.
...
(This used to be commit b28860978fe29c5b10abfb8c59d7182864e21dd6)
2007-10-10 14:21:24 -05:00
Jelmer Vernooij
8773e743c5
r19339: Merge my 4.0-unittest branch. This adds an API for more fine-grained
...
output in the testsuite rather than just True or False for a
set of tests.
The aim is to use this for:
* known failure lists (run all tests and detect tests that
started working or started failing). This
would allow us to get rid of the RPC-SAMBA3-* tests
* nicer torture output
* simplification of the testsuite system
* compatibility with other unit testing systems
* easier usage of smbtorture (being able to run one test
and automatically set up the environment for that)
This is still a work-in-progress; expect more updates over the next couple of
days.
(This used to be commit 0eb6097305776325c75081356309115f445a7218)
2007-10-10 14:21:12 -05:00
Andrew Tridgell
ed24e83d5b
r18838: make sure we cleanup after SMB2-MAXWRITE (it creates a large file)
...
(This used to be commit 54894fb8b87a10dbf36476a001e2e32a0263c4fa)
2007-10-10 14:20:14 -05:00
Andrew Tridgell
921f73c7e5
r18835: expand IO limits on SMB2. Samba4 now tops out at 16.7MB IOs.
...
(This used to be commit 1e34e4d5a1fd3d74080424140e4ab276b6042d12)
2007-10-10 14:19:16 -05:00
Andrew Tridgell
8c3b54f01d
r18808: added SMB2-MAXWRITE test and SMB2-DIR tests
...
expanded size of dangerous level for write in SMB2-CONNECT test
(This used to be commit 355c6e78a91f4e934479829e722f873ca7e66baf)
2007-10-10 14:19:13 -05:00
Andrew Tridgell
aab0622a75
r18325: more warnings and one compile error on aix fixed
...
(This used to be commit 6e7e151432a31e48a67679df3966d2227d555317)
2007-10-10 14:18:09 -05:00
Andrew Tridgell
30ee8beb93
r18301: I discovered how to load the warnings from a build farm build into
...
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-10 14:18:04 -05:00
Jelmer Vernooij
0329d755a7
r17930: Merge noinclude branch:
...
* Move dlinklist.h, smb.h to subsystem-specific directories
* Clean up ads.h and move what is left of it to dsdb/
(only place where it's used)
(This used to be commit f7afa1cb77f3cfa7020b57de12e6003db7cfcc42)
2007-10-10 14:16:54 -05:00
Stefan Metzmacher
5645acdb67
r17786: remove unused macros, fix compiler warnings
...
metze
(This used to be commit 7670e224d4be7035bb07fdaa0d156c5f109f20cc)
2007-10-10 14:16:42 -05:00
Stefan Metzmacher
7cf9880d93
r16981: check the returned values
...
metze
(This used to be commit 687776a436ad1028f1128b279a5103aee23ece18)
2007-10-10 14:10:06 -05:00
Stefan Metzmacher
dd2d3b082c
r16977: do a few more notify tests
...
metze
(This used to be commit 07b27333d5c3bb833d3e9fa5ee99470679a15da9)
2007-10-10 14:10:05 -05:00
Stefan Metzmacher
1e5529f9ef
r16976: add a very simple SMB2-NOTIFY test
...
metze
(This used to be commit 9dfbb0d15e2a5b9cd90643eebedca7b830fc6e10)
2007-10-10 14:10:05 -05:00
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