summaryrefslogtreecommitdiff
path: root/source4/torture
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r17256: fix 2 crash bugs, which are introduced by making parametersStefan Metzmacher1-0/+3
ref pointers! I'm sure there're more places and more care is needed when idl files are changed. Hopefully testing against windows in the build farm find such bugs in future... Why is in the client library this no more possible: NTSTATUS foo([in,out,ref] uint8 *foo); and then just r.in.foo = &foo; status = dcerpc_foo(p, mem_ctx, &r); and r.out.foo will set to r.in.foo via pidl magic, that worked some time ago... metze (This used to be commit d8952f00c77ba59e0806b0de802ac28ac977779c)
2007-10-10r17255: fixed BENCH-NBENCH for new smb_raw_find_first() syntaxAndrew Tridgell1-1/+2
(This used to be commit 7b05c007ea0a8df994af62625b529a164a104903)
2007-10-10r17205: Even if this makes me look foolish, at least start to scratch on the ↵Volker Lendecke2-24/+308
surface of spoolss. If snum is to be removed, then we should make at least the attempt to walk parts of the code before and after the changes. This walks GetPrinterInfo level 0-7. Volker (This used to be commit 0c05f571a0eda2412896f340b7c751cf7cbdbd2a)
2007-10-10r17187: Beginnings of a little lsa walker for Samba3, if only to prevent theVolker Lendecke2-0/+78
regression we had in 3.0.23... Volker (This used to be commit 0236f3b41a4f9015f8551ffb67db59fa48212bf5)
2007-10-10r17186: "async" word abuse clean-up part 2Simo Sorce1-3/+3
(This used to be commit c6aa60c7e69abf1f83efc150b1c3ed02751c45fc)
2007-10-10r17185: Oh, I wanted to do this for sooo long time.Simo Sorce1-6/+6
Finally acknowledge that ldb is inherently async and does not have a dual personality anymore Rename all ldb_async_XXX functions to ldb_XXX except for ldb_async_result, it is now ldb_reply to reflect the real function of this structure. Simo. (This used to be commit 25fc7354049d62efeba17681ef1cdd326bc3f2ef)
2007-10-10r17141: Prove that create dispositions with truncate andJeremy Allison1-0/+71
overwrite break oplocks. Jeremy. (This used to be commit 94886f8c4029a9661a0bce2f7d9c41a3a5eaa366)
2007-10-10r17139: Checking in Volker's extended oplock test.Jeremy Allison2-87/+121
Jeremy (This used to be commit 720c425af167373aaedf739d1d7794ada3fcddf6)
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)