summaryrefslogtreecommitdiff
path: root/source4/torture
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r17104: Rename function parameters and variables to avoid shadowing globalAndrew Bartlett1-10/+10
declarations. Andrew Bartlett (This used to be commit 15dd43b77328c4d56438bdb34b3e8139c5a83878)
2007-10-10r17099: Samba3 now passes RAW-LOCK completely, no need forJeremy Allison1-10/+0
parameters to protect it. Jeremy. (This used to be commit 382c37e3d70c4d259c400dba3d7e4c3846f66c34)
2007-10-10r17085: reuse the existing sec_desc_buf structStefan Metzmacher1-1/+1
metze (This used to be commit 22463cbcdd159657d04657071451738e768d0b2a)
2007-10-10r17082: Add a test that walks and tests denying tconX access via the share ↵Volker Lendecke3-19/+293
security descriptor. This is something that W2k3 does _not_ pass and probably is not expected to, it seems the don't check access at tconX time. Thanks to metze for the hint how in the srvsvc_NetShareInfo1501 struct the length of the sd can be encoded in idl. As metze says, there's probably more to the share secdesc, this needs more testing. This one is here to walk the samba3 code. Volker (This used to be commit 67185508229a8d7f144c22cb194f573c932d6de5)
2007-10-10r17074: Extend the rpc-samba3-getusername test: This creates a normal user ↵Volker Lendecke1-49/+275
and we check if we can actually see the user SID on a fresh sessionsetup. This also gives us the simple create_user, which can lead to more fun tests :-) Volker (This used to be commit 92afe1156915ab6c7e21380000bdad93414d0829)
2007-10-10r17069: Make us pass RPC-NETLOGSAMBA3 against w2k3 againVolker Lendecke1-2/+5
(This used to be commit 963878a5f394234229af5835b2ccdd6d4b369466)
2007-10-10r17065: NT4 does not like "0" here, W2k3 does not care...Volker Lendecke1-1/+1
(This used to be commit 4f13b7d53c0f177cfd2a0d00ee14de3fce12d9bf)
2007-10-10r17064: lsa_GetUserName needs to return the name for S-1-5-7 on an anonymous ↵Volker Lendecke2-23/+265
login. Found that because I want to play around with setsharesecurity, for this I need the "whoami" call figuring out the SID of the currently connected user. Not activating this test yet until the build farm has picked up the new samba4 revision. Volker (This used to be commit 5603db30e7dfbb3d5c4599d36a50007a2b3cac75)
2007-10-10r17020: pass the real error to the failing requestsStefan Metzmacher2-3/+3
metze (This used to be commit 49b96ac44a883c020c69df7a12df154dc4faa4d5)
2007-10-10r17015: add a test that closes the tcp connection with an outstandingStefan Metzmacher1-0/+67
notify request metze (This used to be commit d90313f715e999bb925a154b8431c77638a19a50)
2007-10-10r16988: Extend locktest to enable cluster testing byte range locks. -l ↵Volker Lendecke1-3/+35
<unclist> will redirect the first server/share via the unclist file. Volker (This used to be commit b370c9c8ddbaf73b071aae53d52edbf596e4d60a)
2007-10-10r16982: fix compiler warning, gentest will not use any SMB2 levels...Stefan Metzmacher1-0/+2
metze (This used to be commit db5a94ce0a1f1f3dda74ee5ecb0146bd762ded7c)
2007-10-10r16981: check the returned valuesStefan Metzmacher1-1/+19
metze (This used to be commit 687776a436ad1028f1128b279a5103aee23ece18)
2007-10-10r16980: - make struct smb_notify a union and add levels ↵Stefan Metzmacher2-165/+176
RAW_NOTIFY_NTTRANS,RAW_NOTIFY_SMB2 - parse SMB2 Notify reponse metze (This used to be commit de50e0ccddfad16ad7b254770f4c52c1abe707b9)
2007-10-10r16977: do a few more notify testsStefan Metzmacher1-4/+70
metze (This used to be commit 07b27333d5c3bb833d3e9fa5ee99470679a15da9)
2007-10-10r16976: add a very simple SMB2-NOTIFY testStefan Metzmacher3-0/+93
metze (This used to be commit 9dfbb0d15e2a5b9cd90643eebedca7b830fc6e10)
2007-10-10r16966: Fix compile warnings.Andrew Bartlett1-0/+2
Andrew Bartlett (This used to be commit 7b8240e8fddb49ccad61f9994e6e22e387c16a9e)
2007-10-10r16958: We also do level 1501 on NetShareGetInfoVolker Lendecke1-1/+1
(This used to be commit 656d8337c474374014ac681914fa761916a9bc3c)
2007-10-10r16956: Walk some of the samba3 srvsvc codeVolker Lendecke2-1/+122
(This used to be commit bd84fde777366899391d122e0aa5034ba0b80037)
2007-10-10r16951: add the year to the copyright...Stefan Metzmacher1-1/+1
metze (This used to be commit 97157d5c4a829108f1da89b23b91a6cf87879b3a)
2007-10-10r16909: Change torture_open_connection to look at torture:unclist.Volker Lendecke1-32/+24
Volker (This used to be commit 3413ad5c31b24d490744ad61229372ef74a707b0)
2007-10-10r16907: Add an index parameter to torture_open_connection. Next step is to ↵Volker Lendecke45-93/+97
enable the unclist parameter for all tests that do two connections, to enable cluster testing. Volker (This used to be commit a5d6db09244d444986f8fded3fc6e72c74c8ca1f)
2007-10-10r16900: Nicer display of the test results.Rafal Szczesniak1-2/+10
rafal (This used to be commit bb0e9297b2d0b25866b31937b553434a2dc6aac4)
2007-10-10r16897: Don't pass allocated buffer for returned string as the lookupRafal Szczesniak1-7/+6
function allocates it using memory context. Also, give nicer output of the result of lookup performed. rafal (This used to be commit 1bd5661258dffc01afdb11da50f2da8f0b0b9046)
2007-10-10r16896: Allow to use both binding and unc string to specify host nameRafal Szczesniak1-0/+21
being looked up. rafal (This used to be commit e597e9867f50f495a338bed05cee76ff84fd38b6)
2007-10-10r16874: query all informationStefan Metzmacher1-2/+2
metze (This used to be commit 0ff9c5775724a4644dee10ce1476d728b515a569)
2007-10-10r16860: Fix (and reactivate) the RPC-SAMR test. We need to allow these sidsAndrew Bartlett1-14/+60
to be created as foreign, even if they are in a local domain. Also we do need the user to exist for the life of the test, as we add it to a group. Andrew Bartlett (This used to be commit ae470ff7014e52b55d88e9fe12e2322e069daf9d)
2007-10-10r16851: Put a clue in as to which domain might have failed, due to the lengthAndrew Bartlett1-0/+4
of this test. Andrew Bartlett (This used to be commit b4d75f01d9cb2d1c9d5facfd5eb39c8a062886d4)
2007-10-10r16847: Add the parts of the SAMR test that pass back into 'make test'.Andrew Bartlett2-162/+240
I still need to figure out what causes the rest to fail... Andrew Bartlett (This used to be commit aa34bd46cb1446b9fb6fd8f1b8ffca5f81b3c052)
2007-10-10r16843: Confirm that openX uses the same mapping table as getatr.Jeremy Allison1-1/+94
Jeremy. (This used to be commit 1c84e57e712b03f03035abe26fd8adb71aa16994)
2007-10-10r16842: Jeremy, I almost don't dare checking this in.....Volker Lendecke1-0/+44
Volker (This used to be commit ec36c49c08bdd222d5514611a39f3caf096dac7b)
2007-10-10r16834: split the level's of smb_search_first/smb_search_next and the levelsStefan Metzmacher4-84/+153
of smb_search_data metze (This used to be commit 78c201db8a47a71908698c4dda2add4cf85694d9)
2007-10-10r16827: Factor out some code into common samdb functions:Andrew Bartlett1-6/+31
- creation of ForeignSecurityPrincipals - template duplication code Rework much of the LSA server to pass the RPC-LSA test. Much of the server code was untested. In implementing the LSA Accounts feature, I have opted to have it only create entires when privilages are applied, and not to delete entries, but to delete the privilages. We skip some parts of the test, but it is much better than not testing it at all. Andrew Bartlett (This used to be commit 10eeea6da465564ed9f785d06e2d2ed06cfe29a4)
2007-10-10r16826: Ensure we don't segfault if the remote server fails to set a passwordAndrew Bartlett1-5/+34
in RPC-SAMR test. Andrew Bartlett (This used to be commit 08ec74d620ffe613655f28d002e60ca8201fadd9)
2007-10-10r16794: Make Samba4 pass it's own RPC-SAMR test, at least in part. There areAndrew Bartlett1-12/+67
still a couple of unimplemented functions, but this is far better than not testing this at all. In particular, this exercises the password_hash module. Specific changes: - Add support for SetDomainInfo - Add many more info levels to QueryDomainInfo - Set a domain comment in RPC-SAMR, and verify it is kept - Refactor QueryUserInfo not to always serach for all attributes - Add QueryDiplayInfo3 and QueryDomainInfo2 as aliased calls - Make OemChangePassword2 search under the samdb_base_dn(), so it finds the user when partitions are active. - Skip SetSecurity, DisplayIndex, MemberAttributesOfGroup and 'Multiple' alias operations in RPC-SAMR for Samba4 - Add RPC-SAMR as a 'slow' RPC test (it is quite slow) Andrew Bartlett (This used to be commit 01d25c9d6ca8d036d40040e5ee87a330e5b84d55)
2007-10-10r16770: Get closer to having Samba4 pass some of the RPC-SAMR test, byAndrew Bartlett1-1/+18
skipping some checks. These should be removed, and the code fixed, but currently we are loosing quality because the test isn't run by default. Andrew Bartlett (This used to be commit 1306f60c97562a71ae15f0ab257ddcd5e0af36d4)
2007-10-10r16761: Added additional NTSTATUS and DOS error test for "."Jeremy Allison2-0/+6
This confirms a theory of mine... Added RAW-SAMBA3BADPATH to selectable options. Jeremy. (This used to be commit 4cd7a8ed621d6215202d4b60d183a013a221581b)
2007-10-10r16759: Jeremy, another little error case for you :-)Volker Lendecke1-0/+135
For the paths with illegal characters we should return ERRDOS:ERRbadpath in the DOS error case. We return ERRDOS:ERRinvalidname... Volker (This used to be commit c2203068f46064d067bf43fe50f330ce49dfc08a)
2007-10-10r16756: Some machines on the build farms sporadically fail the testVolker Lendecke1-0/+4
/* Test 21 -- Test removal of file after socket close. */ I think it might be because they are too slow to delete the file. Jeremy, can you check this test does not change semantics in a way you don't want it? Volker (This used to be commit 92aa95f8206364a832bd6ad8cebc030bc001d940)
2007-10-10r16741: add a RPC-LSA-GETUSER test,Stefan Metzmacher2-9/+32
which is very useful for analysing a windows machine remotely with this I found that vista-beta2 doesn't have an 'administrator' account and mapps any not known user to MACHINENAME\Guest metze (This used to be commit 97ae93627527f65b6ecded9884a26d4cffa1409d)
2007-10-10r16739: test SMB2-GETINFO SMB2-SETINFO by make testStefan Metzmacher1-0/+3
metze (This used to be commit 0ebb25de5680cb783d1d79e580aab3f1f03871bc)
2007-10-10r16738: vista beta2 use FILE_CLOSED as error for an invalid file handleStefan Metzmacher2-2/+2
metze (This used to be commit fa35ddcaf9bbeaa4780aa3497cdff56b02af0ab9)
2007-10-10r16737: if an error happens report itStefan Metzmacher2-2/+16
metze (This used to be commit 52ce898cf9f11293005683844b8ea428a5d66f8e)
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-10r16725: don't ignore errorsStefan Metzmacher1-3/+15
metze (This used to be commit 42282301961a13055869445eb9d00492bdbbb61b)
2007-10-10r16707: - test attrib = 0 in BASIC_INFOStefan Metzmacher1-5/+9
- return an error when value doesn't match the expected value! metze (This used to be commit 1f0ecba77344af4dcec71143de0b14ee2565d422)
2007-10-10r16672: we don't need this twice:-)Stefan Metzmacher1-5/+1
metze (This used to be commit e8e9fe666e4fb6f47e7fcaeb5ef9068db25e18b7)
2007-10-10r16668: test setting of security descriptors vis smb2 setinfoStefan Metzmacher1-2/+64
metze (This used to be commit 377562e891ccb6ff9104bbefca71a8e2c18a34de)
2007-10-10r16657: Test Jerry's iTunes bug, along with some more error conditionsVolker Lendecke6-46/+223
Volker (This used to be commit 12aa900eb2ffde3711a30c7e063bfba95128e91d)
2007-10-10r16569: - use push_string()Stefan Metzmacher1-1/+1
metze (This used to be commit f099fcb6e3a38d6df22cb3a0c7c666333e41f11b)