1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-29 21:47:30 +03:00

3017 Commits

Author SHA1 Message Date
Andrew Tridgell
70eb8d54ae fixed current_op.mismatch for more cases
(This used to be commit 8a2a31d050a31308036545414f8d180ec8148f1d)
2008-05-28 22:44:35 +10:00
Andrew Tridgell
dfdfe06dc1 added --noacls options and checking for same mismatch in backtracking
(This used to be commit c7d2e1bf65a28b6a2efd60585ae8ead2fb486e53)
2008-05-28 21:49:04 +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
e814586bdd generate security descriptors in gentest_smb2
(This used to be commit 5ca7e9590e792dc409c6677321cd14362255964e)
2008-05-28 20:06:22 +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
669c528611 added some of the new SMB2 create tags to gentest_smb2
(This used to be commit b3f638581689946084148b241f9fd7c0b938ade2)
2008-05-28 16:58:57 +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
275e057bea Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
(This used to be commit ecb0e5477aa63180daade5c597e7ac2aebfc1e15)
2008-05-28 12:07:20 +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
bbcbada5e4 added --valid option to gentest_smb2
(This used to be commit 91765946b00c6f25d30d0d977c03209cb4e06448)
2008-05-28 11:48:54 +10:00
Andrew Tridgell
d5fe193b15 added --skip-cleanup to gentest
(This used to be commit 0bc3de0cc4ad8a9d1a8582852f7f42cf56dd5a3e)
2008-05-28 11:48:39 +10:00
Jelmer Vernooij
936b973acb Use new dynconfig.h location.
(This used to be commit c3f556915f09d078253e4c5539910a1cf420eeca)
2008-05-27 14:36:28 +02: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
892712e4e7 cleanup some warnings and add --skip-cleanup
(This used to be commit c73dd078eaa20c7bf0b833e65b24c29aab738f25)
2008-05-27 12:43:10 +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
98e72f574a remove temporary test code
(This used to be commit 8995c2f12174ebacc4a6b0864b6583665494a14b)
2008-05-26 15:03:51 +10:00
Andrew Tridgell
cf4899cf4c check use of mincnt past EOF in SMB
(This used to be commit 763c9d344fa55da7a24c250d29542837c3ae3971)
2008-05-26 15:00:56 +10:00
Jelmer Vernooij
72251a1b7a Include test case name when reporting with subunit. This should make it possible to having a test fail against some test cases and success against other ones.
(This used to be commit 0af138a85bba21a5009967e2610c898615fb536b)
2008-05-23 16:19:00 +02:00
Stefan Metzmacher
2f653e814a RAW-STREAMS: better test the bahavior of streams on directories
Note: this has a samba3 specific code path, which we should fixed.

metze
(This used to be commit 5c5c86683877337ff60526a40e7b689f604e40f8)
2008-05-23 09:55:16 +02:00
Andrew Tridgell
1ea0466289 added a --noeas option to gentest_smb2
(This used to be commit 9d523debb7ee59bdadf9865e023be370b7ab7b39)
2008-05-22 22:46:43 +10:00
Andrew Tridgell
af82204f43 added testing of SMB2 setfileinfo in gentest_smb2
(This used to be commit c38658c6c05fd65d729693904d35886431582537)
2008-05-22 15:44:13 +10:00
Andrew Tridgell
80527a0c68 added EAs in the generated SMB2 create operation
(This used to be commit 607bf6a946ffd7f768bda44c461ee82fcfc101c1)
2008-05-22 15:35:52 +10:00
Andrew Tridgell
ae629621da added --maskindexing and qfileinfo testing
- added --maskindexing to mask the 0x2000 noindex bit in file
   attributes
 - added testing of qfileinfo in gentest_smb2
(This used to be commit 3883a7286fd32cd6c77269f67d1366c3b946b5a0)
2008-05-22 14:51:32 +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
8f599b3781 added SMB2 gentest generation of SMB2 echo packets
(This used to be commit 8f7cfa5d2e190ddb74ba859a3f68ec0ed33ae089)
2008-05-22 13:43:04 +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
aed93a238e fixed SMB2 flush call, and added flush to gentest_smb2
(This used to be commit c52fe1fe1c77636d87355d3c4baa66e052fe9008)
2008-05-21 22:51:21 +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 Bartlett
59105620dc Correct an assertion in the testsuite.
Andrew Bartlett
(This used to be commit c3eeae2ea6a7562b43a436f20c110002ca4d1d2b)
2008-05-21 14:49:47 +10:00
Andrew Bartlett
52a3c96a89 Extend the NBT-DGRAM torture test again.
Andrew Bartlett
(This used to be commit f4154846401b31d99c40b2ea53992262095366b0)
2008-05-21 14:28:17 +10:00
Andrew Bartlett
f67156fc92 Extend the 'netlogon' CLDAP and NBT implementation.
This now handles checking if the user exists, including validating the
ACB mask on the user.

This would be a nasty security hole, if Kerberos did not already
expose this information anonymously...

Andrew Bartlett
(This used to be commit 441b286c00f9a7743cdefeb243545bdbd2c94c5e)
2008-05-21 12:37:36 +10:00
James Peach
9a975a868e smbtorture: Add RAW-BENCH-TCON benchmark.
Add a simple test to benchmark the rate at which a server can accept
new tree connections. You can tune the length of time to run the
benchmark for and the number of parallel connections to make.
(This used to be commit ea3f4b93057e85c4ea516cc77dd0f293016d520c)
2008-05-20 11:35:32 -07:00
Volker Lendecke
276fa76fa9 Change wks password in rpc-bench-schannel1
Prove that a workstation password change does not affect existing schannel
connections
(This used to be commit f72dc52ccc426c8057b91b4699dfeda7d9e9b864)
2008-05-20 13:06:05 +02:00
Andrew Tridgell
cd167fd44b Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
(This used to be commit e360be0b99b638afdfa789e217bf08f99d09be7a)
2008-05-20 15:35:49 +10:00
Andrew Tridgell
5ca6f42510 added read and write handlers. Fixed --analyse
(This used to be commit c05ed7bb9ae7211a7001fd0a3403744ba4f6dda0)
2008-05-20 15:16:53 +10:00
Andrew Tridgell
430f4ef666 specify which server failed to deltree
(This used to be commit aa9108374f0dda8510245a6e69a53189f55a81e3)
2008-05-20 13:37:40 +10:00
Andrew Tridgell
fc267b0510 first version of gentest_smb2. Only generates create and close so far.
(This used to be commit 634a4bbd98e1c281f8339073b90cb7696ac59baa)
2008-05-20 11:59:43 +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 Bartlett
aa90730e0c Revert addition of 'mailslot' parameter.
It turns out that the mailslot name (and a useful private prointer) is
provided in the struct dgram_mailslot_handler.

Andrew Bartlett
(This used to be commit e17804b8857fdb3c182c5e886323b9d6c194c2ff)
2008-05-20 11:54:50 +10:00