Jelmer Vernooij
c023828962
Fix missing symbols issues when building with shared libraries.
2008-12-22 21:03:09 +01:00
Stefan Metzmacher
45cf68ce8f
s4:torture: fix the build with auto dependencies
...
metze
2008-11-16 16:21:25 +01:00
Jelmer Vernooij
29a20af75f
Remove use of global_loadparm for SMB2 client connections.
2008-11-02 16:20:00 +01:00
Jelmer Vernooij
3ebc574be4
Fix the build.
2008-11-02 02:30:21 +01:00
Jelmer Vernooij
d9cbf2b0d9
Remove another use of global_loadparm.
2008-11-01 23:26:36 +01:00
Jelmer Vernooij
23302413b3
Remove unused include param/param.h.
2008-10-24 16:37:56 +02:00
Jelmer Vernooij
9565999755
Fix include paths to new location of libutil.
2008-10-11 21:31:42 +02:00
Andrew Tridgell
9a50009430
check error code for zero desired_access in SMB2 create
2008-09-24 18:10:22 -07:00
Stefan Metzmacher
affba1f75c
SMB2-CREATE: add a special test for FILE_ATTRIBUTE_ENCRYPTED
...
Some standalone server (and samba4) doesn't support this.
metze
(This used to be commit 6d8fd4c0089d7e632ec91027a77321aca8c6acc7)
2008-08-14 13:13:52 +02:00
Stefan Metzmacher
d6abf13510
SMB2-CREATE: be more strict in checking file attributes
...
metze
(This used to be commit ba9d0f6b3c60346df757e7c4c3f5704c0bf26d11)
2008-08-14 13:13:51 +02:00
Stefan Metzmacher
80f2f10839
SMB2-CREATE: be more strict in error checking
...
metze
(This used to be commit d7d4df78c1de19d0cd7a63daaa2fa0863a243a12)
2008-08-14 13:13:51 +02:00
Andrew Tridgell
336f6810ce
expanded the SMB2-CREATE and RAW-OPEN tests to explore more of how the
...
create options fields are supposed to work
(This used to be commit 0576875eccaa21ad529c9db41db91781ad400d0f)
2008-08-14 17:26:30 +10:00
Stefan Metzmacher
1a4f4d2cf0
SMB2-CONNECT: remove reference to req->session before calling smb2_logoff_recv() on the invalid session
...
metze
(This used to be commit 93203e8e318dd10b9e7096e586187eb271d42134)
2008-07-28 14:09:45 +02:00
Andrew Tridgell
c6cc3cb88e
another SMB2-LOCK fix now that we know that the UNLOCK flag is only
...
honoured on the first lock in a set
(This used to be commit c014ffabc65c30a6b83c8f9f9f9a80bb79333f59)
2008-06-04 17:52:13 -07:00
Andrew Tridgell
93d6332e7e
fixed SMB2-LOCK test for new semantics (from docs)
...
(This used to be commit d4d4d62939e325f8529b11fcd2d490e8f63293b0)
2008-06-04 13:04:48 -07:00
Andrew Tridgell
eb8634b2f0
check for requested buffer size in getinfo call
...
(This used to be commit ed8f16379d01d3dffd2645e2b275aa27507dfec9)
2008-05-31 13:39:51 +10:00
Andrew Tridgell
57b7b0fcf6
more useful output in scan
...
(This used to be commit 70569a78cf3443ce5c0b0a28dcd17a3031d8aa55)
2008-05-31 13:39:34 +10:00
Andrew Tridgell
beaa01e403
implemented client side SMB2 signing
...
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-30 17:03:54 +10:00
Andrew Tridgell
b33dba845e
don't emulate broken SMB2 locking behaviour from windows
...
(This used to be commit c50e7a15f9a7f2c5821b5ee468f9ade6eaa0ed55)
2008-05-30 07:28:29 +10:00
Andrew Tridgell
523a0fccf3
check maximal_access here too
...
(This used to be commit 8159b1598e21daee730e185d025694e27df18d1b)
2008-05-29 19:30:11 +10:00
Andrew Tridgell
215fd9764f
test the maximal access return
...
(This used to be commit 23ffec5d140463c8307fd7e444ae25781ea3d792)
2008-05-29 19:16:44 +10:00
Andrew Tridgell
c793faf998
check the set of file attributes which are ignored
...
(This used to be commit c818f56d8ea3ddc6f4cc61e9d5ed6fd195280a5d)
2008-05-28 22:44:54 +10:00
Andrew Tridgell
1eabf81554
check that we can't change a file to a directory
...
(This used to be commit e013ada415ebb25e925f715791757330ba003b43)
2008-05-28 20:06:48 +10:00
Andrew Tridgell
f7bf79043e
added testing of some strange read semantics on windows
...
(This used to be commit 46a0b65742bc0e4277da53df9df823abd4a0d150)
2008-05-28 20:06:38 +10:00
Andrew Tridgell
91069754f8
add testing of creating a file with an initial ACL on SMB2
...
(This used to be commit e957e86a03baa0c0daf3bfe1aaeceb7a08e3c24e)
2008-05-28 18:48:23 +10:00
Andrew Tridgell
0eb4ecc81a
test unknown tags and bad tag lengths
...
(This used to be commit 72902c1d0f85048adf3088b4f90bbc34858b8658)
2008-05-28 16:59:12 +10:00
Andrew Tridgell
082272e49d
added testing of SMB2 create blobs
...
(This used to be commit a48cbec6b90c6ba9db870fc33eed06b36612d8ff)
2008-05-28 16:28:50 +10:00
Andrew Tridgell
0dbef08a9a
expanded the SMB2-READ test, including the windows position bug
...
(This used to be commit 43e7b13027cde2696d6e137a785456861c49071a)
2008-05-28 12:06:29 +10:00
Andrew Tridgell
17704a8df6
add exceptions for some of the strange windows SMB2 locking behaviour
...
(This used to be commit 429bbecebe50ce3d8d494eece35b2387556d5893)
2008-05-28 12:05:23 +10:00
Andrew Tridgell
6cdfbd8380
fixed uninitialised variable
...
(This used to be commit 8d2e20fcb984c122fbf98cfe712b3145941d881d)
2008-05-27 20:16:00 +10:00
Andrew Tridgell
ed3a095a5a
fixed file_attributes test
...
(This used to be commit 791ce0fe39a9d9e0d40b9850ff6f0cc9077fe2f1)
2008-05-27 19:10:35 +10:00
Andrew Tridgell
4f0d968d1d
added a basic SMB2 read test suite
...
(This used to be commit 4aeda5c11414a4a7ef44da32be05209cb5caa90c)
2008-05-27 18:20:04 +10:00
Andrew Tridgell
a75d5075ea
re-enable some tests
...
(This used to be commit c15b24a2f4346b6f07e1d5fd4f2bef7cd09cf350)
2008-05-27 18:19:22 +10:00
Andrew Tridgell
beac55a88f
enforce lock ordering in SMB2
...
(This used to be commit 3bec932a89006521ba74bde7943b8cd5b4a660d8)
2008-05-27 17:22:02 +10:00
Andrew Tridgell
c400933c02
added some SMB2 locking tests from gentest
...
(This used to be commit 2932fcb04646bb921fb1daa365dd4c86cadfe4c0)
2008-05-27 16:02:43 +10:00
Andrew Tridgell
7ae464b548
another gentest derived test
...
(This used to be commit bb546ab3779b235c5276ef9a714d1ca57b6815c9)
2008-05-27 15:00:05 +10:00
Andrew Tridgell
6e265867ff
SEC_STD_SYNCHRONIZE is only invalid on SMB2
...
(This used to be commit 067f1271adaa13d537bbc92b19fe8d633cbaaf50)
2008-05-27 14:30:42 +10:00
Andrew Tridgell
95afe46a0e
expanded the SMB2 create testing
...
(This used to be commit 71915128498674d9937780b9278fd2ac1eb06ba8)
2008-05-27 14:07:27 +10:00
Andrew Tridgell
0d8d6dbfd7
the start of a SMB2 create test suite
...
(This used to be commit 16787e99f3de7255e315651c095486f90f65f2ca)
2008-05-27 12:41:50 +10:00
Andrew Tridgell
61e78a2c61
minor cleanup in SMB2 getinfo test
...
(This used to be commit b139b471072f20288f126b5a9ee7613cc6c40681)
2008-05-22 14:50:36 +10:00
Andrew Tridgell
7ba8dca590
fixes to the SMB2 lock test after recent SMB2 locking changes
...
(This used to be commit de7626e1c29f04e54afb6d95f4051bc52b17dd80)
2008-05-22 13:14:36 +10:00
Andrew Tridgell
4d39976ddd
fixed SMB2 locking
...
- 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)
2008-05-21 22:12:20 +10:00
Andrew Tridgell
f8f0cc985b
moved these util functions into libcli
...
(This used to be commit b2f1154bc338fb56fc998f40159156cb6859075b)
2008-05-20 11:59:18 +10:00
Andrew Tridgell
03eb236f20
Merge commit 'origin/v4-0-test' into vfs_smb2
...
(This used to be commit 733937e87a1adcc19492ea2bd138e705701901b6)
2008-05-19 11:40:25 +10:00
Andrew Tridgell
66cbf7eb59
added mkdir to SMB2 proxy
...
(This used to be commit 1323aab11fbf346e19c4cef227d727ddfcaa7d60)
2008-05-19 11:39:16 +10:00
Jelmer Vernooij
4c70cda986
Fix a couple (well, little more than that..) of typos.
...
(This used to be commit a6b52119940a900fb0de3864b8bca94e2965cc24)
2008-05-18 23:02:47 +02:00
Jelmer Vernooij
4c8756f147
Create prototype headers from Makefile directory, without smb_build in the middle.
...
(This used to be commit f4a77b96f9c17d853348b70794026e5b9e384942)
2008-05-18 22:30:08 +02:00
Jelmer Vernooij
03643aec88
Use variables for source directory in a couple more places.
...
(This used to be commit c41bd3005f5f0b9cfd3709fc9217b4a401d265b4)
2008-05-18 19:54:27 +02:00
Andrew Tridgell
c7d7577fb9
private -> private_data for struct smb2_request
...
(This used to be commit 67290e0ad69df2f2fe651249c6550b8e32dd641b)
2008-05-16 15:03:58 +10:00
Jelmer Vernooij
670122d724
Fix torture module initializion.
...
(This used to be commit d5bf4e9065303b54421a6f35b213a22f062d27d4)
2008-05-10 23:46:51 +02:00