summaryrefslogtreecommitdiff
path: root/source4/torture
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r24736: Convert to using torture API.Jelmer Vernooij2-145/+197
(This used to be commit a0f11881546f6cd367d459e016956f76910a0a89)
2007-10-10r24735: Use torture API in more places.Jelmer Vernooij59-814/+523
(This used to be commit 1319d88c099496be29dd9214fa2492c81e848369)
2007-10-10r24728: Use more stock torture functions.Jelmer Vernooij17-75/+43
(This used to be commit da3a7ee407a2b41bd01f45072cad12bf29250b33)
2007-10-10r24700: added auto-reconnect to BENCH-NBENCH. Used for testing clusterAndrew Tridgell2-108/+394
failover this is based on a patch from Dmitry Shatrov, with some mods from me (This used to be commit 737be7e2d6cefbdd207629fc2cdd27de83d326b6)
2007-10-10r24695: Now the Samba4 passes this test, remove the skip...Andrew Bartlett1-8/+0
Andrew Bartlett (This used to be commit 771affed88edd1e2ad891bf2a253f7dc8082dd86)
2007-10-10r24686: Make sure control messages are on a new line.Jelmer Vernooij1-4/+4
(This used to be commit 90119f96e96ce71b1fe145be9027d925831f6500)
2007-10-10r24685: Don't warn about iconv tests not being usable until they're actually ↵Jelmer Vernooij1-22/+31
being run. (This used to be commit df34e606981c3a9fe5b9ac846dbf40d36500bd6b)
2007-10-10r24682: forgot to actually make the new test buil...Rafal Szczesniak1-0/+1
rafal (This used to be commit dbcf4f15a6a0c1bb93b5f65f85795af262bf7552)
2007-10-10r24681: add basic test of libnet_GroupInfo function.Rafal Szczesniak2-0/+273
rafal (This used to be commit 5ba36fe70308d99b8ca9104ebf42a5dc0bc7bab7)
2007-10-10r24676: Fix pointers being used rather than the data they point at - caught ↵Jelmer Vernooij1-3/+3
by the IRIX compiler. (This used to be commit 678b125532621e2b2823e92695326469f0e557ed)
2007-10-10r24674: Make sure results are always on a new line, fix typo in test name.Jelmer Vernooij3-1/+5
(This used to be commit 40c1635b39b4acff0acecc734583daa0217215ce)
2007-10-10r24670: Use torture functions for settings.Jelmer Vernooij6-12/+10
(This used to be commit a6906676309f3b1bec1a69427e7ffd0a768061b8)
2007-10-10r24667: Finally merge the registry improvements that Wilco Baan Hofman and I ↵Jelmer Vernooij7-364/+316
have been working on for at least half a year now. Contains the following improvements: * proper layering (finally!) for the registry library. Distinction is now made between 'real' backends (local, remote, wine, etc) and the low-level hive backends (regf, creg, ldb, ...) that are only used by the local registry backend * tests for all important hive and registry operations * re-enable RPC-WINREG tests (still needs more work though, as some return values aren't checked yet) * write support for REGF files * dir backend now supports setting/reading values, creating keys * support for storing security descriptors * remove CREG backend as it was incomplete, didn't match the data model and wasn't used at all anyway * support for parsing ADM files as used by the policy editor (see lib/policy) * support for parsing PREG files (format used by .POL files) * new streaming interface for registry diffs (improves speed and memory usage for regdiff/regpatch significantly) ... and fixes a large number of bugs in the registry code (This used to be commit 7a1eec6358bc863dfc671c542b7185d3e39d7b5a)
2007-10-10r24657: Use torture functions.Jelmer Vernooij1-5/+5
(This used to be commit e95c50fc501ee4e2a394dc01f2708abb9d937e28)
2007-10-10r24631: Fix up format warnings, found on my Fedora 7 x86_64 workstation.Andrew Bartlett2-5/+5
Andrew Bartlett (This used to be commit 3d74d178bfd89127ff387939e848b240e638cc35)
2007-10-10r24611: Following up on the re-opening of bug 4817 is it pretty clear thatAndrew Bartlett1-57/+180
machine accounts are not subject to password policy in Win2k3 R2 (at least in terms of password quality). In testing this, I found that Win2k3 R2 has changed the way the old ChangePassword RPC call is handled - the 'cross-checks' between new LM and NT passwords are not required. Andrew Bartlett (This used to be commit 417ea885b41cc097a0bb3a10ffbffb31f234f25d)
2007-10-10r24606: move librpc/rpc/table.c -> librpc/ndr/ndr_table.cStefan Metzmacher6-15/+16
and rename the containing functions to have a ndr_ prefix metze (This used to be commit cb234d43ae693af5d8a921a15c9bcac3c6f0359a)
2007-10-10r24588: use the right typeAndrew Tridgell1-1/+1
(This used to be commit 710f6dc17f4bdf994a5fefd439eee93e1774e70e)
2007-10-10r24587: the elements of the array are not talloc pointersAndrew Tridgell2-4/+2
(This used to be commit 2ebf00dc42edfc3474dc88ef2e560d4b1b534efa)
2007-10-10r24586: same bug in RAW-BENCH-OPENAndrew Tridgell1-1/+1
(This used to be commit 3bd35bb8abf2e49036d0356ce1b5db95908f7189)
2007-10-10r24585: put in the right state variable when doing a SMBecho - this caused theAndrew Tridgell1-1/+1
wrong connection to reconnect on a SMBecho failure (This used to be commit c61415b05ddd29c7214384189f7d0ddabdaa3b71)
2007-10-10r24570: Attempt to fix make testVolker Lendecke1-2/+8
Samba4 seems not to survive the newly added tests (This used to be commit b8a8a81ffe58ae8d7c2fd006c0cd285db714cbfe)
2007-10-10r24569: Add two testsVolker Lendecke3-0/+89
A subtest for rename to check if case-changing renames work A test that exposes the case insensitivity unix_convert bug (This used to be commit 786706322a920fd54585bec72d860ed112398f12)
2007-10-10r24568: Fix the build, caused by a conflict betwen mimir's work and metze's ↵Andrew Bartlett1-1/+1
bulk rename. Andrew Bartlett (This used to be commit 6e730d43e4052e074161af7bedef87994056e398)
2007-10-10r24560: rename some DCERPC_ prefixes into NDR_Stefan Metzmacher1-7/+7
metze (This used to be commit f874eca5dab74e930d0ec52abeb06295d2d90476)
2007-10-10r24557: rename 'dcerpc_table_' -> 'ndr_table_'Stefan Metzmacher44-114/+114
metze (This used to be commit 84651aee81aaabbebf52ffc3fbcbabb2eec6eed5)
2007-10-10r24555: Add a test for libnet's group info call.Rafal Szczesniak3-0/+277
rafal (This used to be commit 40ad66dd75acce330c2db3f4258eacf8265b05e2)
2007-10-10r24551: rename dcerpc_interface_table -> ndr_interface_tableStefan Metzmacher9-24/+24
rename dcerpc_interface_list -> ndr_interface_list and move them to libndr.h metze (This used to be commit 4adbebef5df2f833d2d4bfcdda72a34179d52f5c)
2007-10-10r24532: rename struct dcerpc_syntax_id into struct ndr_syntax_idStefan Metzmacher4-7/+7
and move it into misc.idl The goal is to get rid a all dcerpc specific stuff in the generated ndr layer. metze (This used to be commit 2ed014cfb894cccab1654e3f7d5876393e2b52d7)
2007-10-10r24529: Against samba3, treat EAS_NOT_SUPPORTED as acceptable for t2openVolker Lendecke1-2/+10
Many hosts in the build farm don't have EA support (This used to be commit 3cca299c72e0ae7da3d28d7284f1993eef9f1cea)
2007-10-10r24502: More work to get LOCAL-EVENT passing on all platforms:Andrew Bartlett1-8/+1
- Make the epoll_event_context_init() call fail if epoll_create() fails. This should cause this backend to be skipped on host with epoll() in libc but not in the kernel. - At the moment, there is no sensible way to handle failures to add an epoll() event, and 'fallback to select' is misnamed (so we now abort()). Andrew Bartlett (This used to be commit fb1e1eebdae740a2b66ee1ea9e1e35f21292ac14)
2007-10-10r24478: Check that NTrename also maps NT_STATUS_OBJECT_NAME_COLLISIONJeremy Allison1-0/+15
to ERRDOS, ERRrename. Jeremy. (This used to be commit 7cc8be50b6c64bc1d0a3f43ab5d78a28260a3c93)
2007-10-10r24477: Add a rename test to prove that NT_STATUS_OBJECT_NAME_COLLISIONJeremy Allison1-0/+25
is mapped to ERRDOS, ERRrename on a rename error, but mapped to ERRDOS, ERRfilexists on an open error. Jeremy. (This used to be commit e634c627b155b8ce9d325b7b23236861993cfd59)
2007-10-10r24473: Prove this is also the same for NTcreateX. It's pretty muchJeremy Allison1-0/+38
guarenteed now that NT_STATUS_OBJECT_NAME_COLLISION should map to ERRDOS, ERRfilexists on all open calls at least. Jeremy. (This used to be commit 125590e008549b2784b38f3fd8ff45b47dc3e3e9)
2007-10-10r24469: Start adding in the torture tests that prove that ↵Jeremy Allison1-1/+85
NT_STATUS_OBJECT_NAME_COLLISION should map to ERRDOS, ERRfilexists not ERRDOS, ERRrename as it currently does in the errormap. This will break the build farm against Samba3 until I start adding in the hand mapping from the above. Tridge - we may need to reconsider the mapping here. Jeremy. (This used to be commit 74a871ce705a8362cfcc3e9f46ffdb63edc02b32)
2007-10-10r24390: Another attempt to find out why we fail the LOCAL-EVENT test on some ↵Andrew Bartlett1-1/+1
build farm hosts. Andrew Bartlett (This used to be commit 1abd8edb57d1a537115de020921ffe4f878d9f29)
2007-10-10r24333: Add convenience function for checking the contents of a file in tests.Jelmer Vernooij2-3/+26
(This used to be commit 4e304101241ea7bcb9111b757bb51b16665d492d)
2007-10-10r24300: Try to get the LOCAL-EVENT test to pass on hosts with epoll() inAndrew Bartlett1-1/+9
glibc, but not in the host kernel. Andrew Bartlett (This used to be commit bd70b0d1063c2ad471b1580361b818d64aadfe29)
2007-10-10r24146: It is not an error for a Win2k3-only server not to support the NT4Andrew Bartlett1-0/+3
replication call. Andrew Bartlett (This used to be commit 59cba32c09f5b014788e4fb0479ed31f26a3d7e2)
2007-10-10r24127: Set the Domain SID into the libnet context, and have libnet_UserInfoAndrew Bartlett1-5/+7
return full SIDs for the user SID and primary group sid. This should help kai with his getpwnam work in winbind. Andrew Bartlett (This used to be commit 078671d5015c63e4bcd96815e150dae918763b83)
2007-10-10r24083: Don't fail the test (looking for the user in the enum) if we didn'tAndrew Bartlett1-3/+7
create the user in the first place. Andrew Bartlett (This used to be commit db0f81734d39b228dbfcf53b911edf83a2a2fd8c)
2007-10-10r24081: Domain Controllers are also shown in this enumeration.Andrew Bartlett1-2/+2
Andrew Bartlett (This used to be commit 3e332ff77120003da2a23df8e0d30a330847f0f1)
2007-10-10r24080: Set the primary group (matching windows) when creating new users inAndrew Bartlett1-4/+27
SAMR. This can't be done in the ldb templates code, as it doesn't happen over direct LDAP. As noted in bug #4829. Andrew Bartlett (This used to be commit 3bfa6dbf7ded06df78310f7bd39d8a8d4edbb4ef)
2007-10-10r24074: Test both permitted logon hours and permitted workstations in theAndrew Bartlett2-4/+72
RPC-SAMLOGON test. This showed that, as noted by bug #4823, we didn't test for invalid workstations. In fact, the code had been ported across, but because untested code is broken code, it never worked... Andrew Bartlett (This used to be commit 5e07417ada56d189a911ef888b0c87adebe60763)
2007-10-10r24059: Fix bug 4822 reported by Matthias Wallnöfer <mwallnoefer@yahoo.de>.Andrew Bartlett1-0/+10
Any SAMR client (usrmgr.exe in this case) that attempted to set a property to a zero length string found instead the the old value was kept. In fixing this, rework the macros to be cleaner (add the always-present .string) to every macro, and remove the use of the samdb_modify() and samdb_replace() wrappers where possible. Andrew Bartlett (This used to be commit b05fe693047c09b85c7fc0e1ea8d931c99910375)
2007-10-10r24053: Ensure we filter EnumDomainUsers with the supplied mask.Andrew Bartlett1-22/+80
Should fix another part (list of domains in usrmgr incorrectly including accounts) of bug #4815 by mwallnoefer@yahoo.de. Andrew Bartlett (This used to be commit 7f7e4fe2989ef4cb7ec0f855b25e558f3bbd18c5)
2007-10-10r24052: Fix some of the NT4 usrmgr.exe portions of bug 4815.Andrew Bartlett1-11/+195
- The icons in usermgr were incorrect, because the acct_flags were not filled in (due to missing attribute in ldb query) - The Full name was missing, and the description used as the full name (due to missing attributes in ldb query and incorrect IDL) To prove the correctness of these fixes, I added a substantial new test to RPC-SAMR-USERS, to ensure cross-consistancy between QueryDisplayInfo and QueryUserInfo on each user. This showed that for some reason, we must add ACB_NORMAL to the acct_flags on level 2 queries (for machine trust accounts)... Getting this right is important, because Samba3's RPC winbind methods uses these queries. Andrew Bartlett (This used to be commit 9475d94a61e36b3507e5fd2e6bb6f0667db4a607)
2007-10-10r24051: more monitor function calls and monitor msg namesRafal Szczesniak2-4/+4
convention change. rafal (This used to be commit 6ab10b2ed256fa3c55d1af8ddcc9dfdaf4598a1e)
2007-10-10r24041: After metze's ack, check in torture_comment from Zack KrischVolker Lendecke1-2/+2
<zack.kirsch@isilon.com> (This used to be commit b1148b7ab84a18d4fea771c887ed7d535841982b)
2007-10-10r23821: Extend the winreg test by a test for DeleteKey on aMichael Adam1-0/+66
key that has subkeys. This should return WERR_ACCESS_DENIED. Michael (This used to be commit 9b8789a4b5f444e643ed7ee3ff55dc0c41986d07)