summaryrefslogtreecommitdiff
path: root/source4/torture
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-10-10r23816: A little more static, but leave the dead code testjoin.c as ↵Andrew Bartlett1-11/+3
documentation. Andrew Bartlett (This used to be commit 6679003c0553804333f0090a91e1fe53837ceb47)
2007-10-10r23811: Try to ensure struct nbt_name is always pre-declared. Might fix theAndrew Bartlett1-9/+10
build on aico. Andrew Bartlett (This used to be commit 5609bd9d219f517c25dbc6e6d265eed3ed517883)
2007-10-10r23810: Make things static, and remove unsued code.Andrew Bartlett2-18/+18
This includes some of the original ildap ldap client API. ldb provides a much easier abstraction on this to use, and doesn't use these functions. Andrew Bartlett (This used to be commit dc27a7e41c297472675e8c251bb14327a1af3902)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell165-495/+330
There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r23734: Add a test to prove tridge's theory that the mask, once setJeremy Allison1-2/+119
on an open directory handle, is never changed. (He's right btw :-). Jeremy. (This used to be commit bf9242ad4561239fbc6e05c6879726f0df202f56)
2007-10-10r23687: not every compiler supports __typeof__()Stefan Metzmacher1-0/+5
metze (This used to be commit d0f77f7bd7520f4cd61c0d0199b917895ea85a1c)
2007-10-10r23643: Fix the build farm tests. We were incorrectly passing theJim McDonough1-5/+10
RPC-SAMBA3-GETUSERNAME tests before the previous password expiration fixes, because if you create a user and only set the password administratrively, the "last set time" should not get updated. Needed to add some more of the fields_present flags to do this. (This used to be commit ce5637de22c19551c0ce5147658ceae33b976ef1)
2007-10-10r23561: Fix an output message.Michael Adam1-1/+1
(This used to be commit bf1edba3f184cbddea70388058e16f044c2bea54)
2007-10-10r23551: Change data_blob_equal to data_blob_cmp, suitable for sorting with ↵Andrew Bartlett1-2/+2
qsort(). Andrew Bartlett (This used to be commit 96ef5259c63ad6245c94c40d6059d736b1534183)
2007-10-10r23540: Continue fixing bench-readwrite. We need to initialize ↵Alexander Bokovoy1-2/+3
state->readcnt not only when file is written but at initial write as well. (This used to be commit 0258f9d3c21d1f9ce6bfcf31138d7f8b9bfb6b7d)
2007-10-10r23535: accept numeric ntstatus codes in nbench load files (ronnies wiresharkAndrew Tridgell1-3/+9
script generates numeric codes) (This used to be commit 455895c4b1651bc74f2f64514344d3561a2cd5bb)
2007-10-10r23534: honour the targetrate even for loadfiles with timestampsAndrew Tridgell1-1/+5
(This used to be commit 24b6aabd11849518f46231358994118a39bb0cb3)