summaryrefslogtreecommitdiff
path: root/source4/torture
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-10-10r23533: added --option torture:targetrate=rate to target a particularAndrew Tridgell2-1/+31
throughput in MBytes/sec (This used to be commit 35477e8e3d58acce467648f3bd83a43d135caefa)
2007-10-10r23531: added optional latency reporting in BENCH-NBENCH. To use it, you needAndrew Tridgell2-6/+47
to have a load file that puts a timestamp in the first column. That tells NBENCH to target the same throughput as the capture, and to report the maximum amount of latency miss in the test This allows you to quickly see how many clients you can run with while still meeting a given target (This used to be commit 7f045ca4f5e3e777978cad39ac22f0c611af6b10)
2007-10-10r23529: When using READX, fill in readx fields. Thanks to Metze for spotting it.Alexander Bokovoy1-6/+7
(This used to be commit 9bb079d70d3fab3ad66143301e8ddfbb5135dedb)
2007-10-10r23506: Turn back to RAW_READ_READ because buildfarm fails. Investigating.Alexander Bokovoy1-1/+1
(This used to be commit a580d19cb39e35464d28a8aa15bb9587e3e7d518)
2007-10-10r23505: Use RAW_READ_READX, not RAW_READ_READ in BENCH-READWRITE test (we ↵Alexander Bokovoy1-1/+1
already write with RAW_WRITE_WRITEX). Noticed by Gomati Mohanan (This used to be commit 5530b38bbf776fec86dd47d3fe73c5e7a6eb188b)
2007-10-10r23492: Also activate the split out test...Volker Lendecke1-0/+2
(This used to be commit a3cb4bcae7a6eaac99e2cffbce4a8a7d7fcf1547)
2007-10-10r23491: Split out the RENAME trans2 call into a separate testVolker Lendecke1-14/+65
(This used to be commit 80244f1ee66c3dbcc2958db4fa9ed333d9f0b40c)
2007-10-10r23481: As per metze's suggestion, move the nsstest files from torture/ to ↵Kai Blin4-549/+0
nsswitch/ (This used to be commit 4e7dc9eae4a30f67a87dbf8ccfda7f6a3ace114d)
2007-10-10r23403: Make nsstest build on Samba4.Kai Blin4-2/+141
For now, only build on Linux systems. If the build farm is happy with this, I will gradually turn on this feature for other platforms, too. (This used to be commit c2d4cc1c61d7b39de2139de836dbbdb6c2edf8bb)
2007-10-10r23386: Correctly fill in server name in DsrGetDcSiteCoverageW() test.Günther Deschner1-1/+2
Guenther (This used to be commit 2fc02ab99283f77138e759726ea67ec6ce5e5283)
2007-10-10r23385: Adding netr_DsRGetForestTrustInformation() test to query transitive ↵Günther Deschner1-0/+52
forest trusts as well as our primary domain. Guenther (This used to be commit 7b19df13a4885fefc38cd73a9c46ee897ffa79ae)
2007-10-10r23383: Query transitive forest trust info in LSA torture test once we see ↵Günther Deschner1-0/+66
such trusts. Guenther (This used to be commit eaa17d5a8ff25ff96b3b6b71dab0effbeeb9b683)
2007-10-10r23381: Merge netr_GetDcName WERROR return and ↵Günther Deschner1-2/+2
WERROR_DOMAIN_CONTROLLER_NOT_FOUND from SAMBA_3_0. Guenther (This used to be commit 841ad140a34648ff52d5e44a6642f346ef9eee02)
2007-10-10r23365: Try to make Windows Vista join again. On my new test environment, itAndrew Bartlett1-2/+28
wants to check for an existing domain join account, and fails. This test shows that we need to return NT_STATUS_NONE_MAPPED when nothing matches. (not yet tested if this helps vista). Andrew Bartlett (This used to be commit 7f3671bf11cab36a5c795d7db86f85081b73bc71)
2007-10-10r23240: Fill in netr_DsrGetDcSiteCoverageW.Günther Deschner1-1/+25
Guenther (This used to be commit 9c2b9642336ed954c8f9fc0ccce95547d7c18aa8)
2007-10-10r23239: Fill in drsuapi_QuerySitesByCost.Günther Deschner1-1/+58
Guenther (This used to be commit cf953d04813d193da5e9714ceebb7826dc7e4d0b)
2007-10-10r23231: Fix make test on build farm for 64-bit hosts. There's no reason ↵Jim McDonough1-0/+1
this should be any different for 64-bit hosts, but we probably are lucking out on other fields here as well. The "fields_present" field shouldn't just be copied from usrmgr traces, because it indicates which fields should be set, and in this case, we were setting the kickoff time (NOT the expired time) to some random date. (This used to be commit 69270178e5b5b069cc7bcd04d04cf8ec29512da2)
2007-10-10r23182: fixed valgrind errorAndrew Tridgell2-0/+4
(This used to be commit fae416cbe8e44bc88ea709160a583e2f921e4eec)
2007-10-10r23181: prevent attempts to reopen the connection twice at the same timeAndrew Tridgell2-21/+30
(This used to be commit a25c27dbae4534f2125001c16ac9ae0b67c519cb)