summaryrefslogtreecommitdiff
path: root/source4/torture
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r10348: Add scons scripts for remaining subsystems. Most subsystems build now,Jelmer Vernooij1-1/+0
but final linking still fails (as does generating files asn1, et, idl and proto files) (This used to be commit 4f0d7f75b99c7f4388d8acb0838577d86baf68b5)
2007-10-10r10345: Add more add-hock tests.Andrew Bartlett1-0/+107
Andrew Bartlett (This used to be commit e05e87b3fe1dae058e2a3588578d09ea1cfd2142)
2007-10-10r10336: Add sconscript for a couple more subsystems.Jelmer Vernooij1-0/+57
(This used to be commit 59d4450453c25f5cce9b67b808ff0c4433c1d194)
2007-10-10r10315: Remove use of fstring and pstring in dynconfig.cJelmer Vernooij4-4/+2
Remove unused includes of dynconfig.h (This used to be commit 59083b7ba60d518ddb59646c4fd69938afd079b3)
2007-10-10r10257: strlen returns a size_t which can be 64 bits long.Tim Potter1-2/+2
(This used to be commit 4a4b0537183e16b00a94f0411e423c943d79cba9)
2007-10-10r10255: Fix some more 64-bit warnings.Tim Potter1-2/+2
(This used to be commit f4f9337619f7793f5ad23fcb59a8e8751941fec6)
2007-10-10r10199: added a LOCAL-RESOLVE torture test, useful for measuring the overhead ofAndrew Tridgell3-1/+90
the async name resolution mechanisms (This used to be commit b3a9d759bb7c6ca892f9810389292e79d963ca61)
2007-10-10r10167: add a test to check if we always get the same assoc_ctx, on one ↵Stefan Metzmacher1-2/+47
connection. metze (This used to be commit 589541b7402506422e8a85a857ea48910b24f2d6)
2007-10-10r10164: - add first assoc_ctx testStefan Metzmacher1-2/+80
- handle the case where we're no valid pull partner of the tested server metze (This used to be commit d2e62dc205dd450ce57b9566c29e82878eb8471b)
2007-10-10r10146: Clarify which test is failing in error messages.Andrew Bartlett1-25/+29
Don't dump the pac to x.dat (accidental commit). Andrew Bartlett (This used to be commit a798d76a4ad6c0cb280d4e03e9819702acb16f55)
2007-10-10r10132: Confirm that openX with OPEN_EXEC implies read only.Jeremy Allison1-0/+26
Jeremy. (This used to be commit da70b2ab2df6d8239811b12b471c578cbff6dca8)
2007-10-10r10113: rename libcli/wins to libcli/wreplStefan Metzmacher1-1/+1
metze (This used to be commit d8b84112bb40605b07a77ab5f7a44ac1807ccc59)
2007-10-10r10081: - create a seperate WINSDB subsystemStefan Metzmacher1-1/+1
- use LIBCLI_WREPL for the winsreplication client code - fix some dependencies metze (This used to be commit 7dd931ee5ac1408da8d14d00f43d19473e06871e)
2007-10-10r10066: This is the second in my patches to work on Samba4's kerberos support,Andrew Bartlett1-9/+134
with an aim to make the code simpiler and more correct. Gone is the old (since the very early Samba 3.0 krb5 days) 'iterate over all keytypes)' code in gensec_krb5, we now follow the approach used in gensec_gssapi, and use a keytab. I have also done a lot of work in the GSSAPI code, to try and reduce the diff between us and upstream heimdal. It was becoming hard to track patches in this code, and I also want this patch (the DCE_STYLE support) to be in a 'manageable' state for when lha considers it for merging. (metze assures me it still has memory leak problems, but I've started to address some of that). This patch also includes a simple update of other code to current heimdal, as well as changes we need for better PAC verification. On the PAC side of things we now match windows member servers by checking the name and authtime on an incoming PAC. Not generating these right was the cause of the PAC pain, and so now both the main code and torture test validate this behaviour. One thing doesn't work with this patch: - the sealing of RPC pipes with kerberos, Samba -> Samba seems broken. I'm pretty sure this is related to AES, and the need to break apart the gss_wrap interface. Andrew Bartlett (This used to be commit a3aba57c00a9c5318f4706db55d03f64e8bea60c)
2007-10-10r10041: Add 'gcov' make target. RunJelmer Vernooij1-0/+12
'make clean gcov' to generate a set of files describing the test coverage of the Samba 4 code. (This used to be commit 72bb84add469ad4f027ddbd8d73bb846b0609fa2)
2007-10-10r9941: Update the CrackNames test, and provide a much improved server-sideAndrew Bartlett1-41/+98
DRSUAPI CrackNames. We can't pass the full cracknames test until the initial provision is updated, the seperate DomainControllerInfo and canonical names support is added. Andrew Bartlett (This used to be commit ed24d88f0e8c6371acf6638a1c5f2112bc0bf285)
2007-10-10r9888: add IDL for lsa_QueryDomainInformationPolicy to query Kerberos Settings.Günther Deschner1-0/+33
Guenther (This used to be commit d717e878bdc05b06adcc50c3527c339be8164145)
2007-10-10r9884: Fix compiler warning.Tim Potter1-1/+1
(This used to be commit 6e30dd8a50e9afc4942cd925e6e0266d960923dd)
2007-10-10r9878: This is getting a bit out of control, but a few more tests.Andrew Bartlett1-0/+148
Andrew Bartlett (This used to be commit a6597181f62e5b0ec95232a2dd69b5d85de845b8)
2007-10-10r9876: Fix some 64-bit warnings for Itanium machine.Tim Potter2-4/+4
(This used to be commit 9e375d82e828879704442e5a27a9938015953de2)
2007-10-10r9861: I need to convert this to table-driven, but anyway...Andrew Bartlett1-1/+75
More CrackNames testing Andrew Bartlett (This used to be commit 0913dec6a98e735e5e3157a2fceec94f57dd706c)
2007-10-10r9792: Rename StrCaseCmp -> strcasecmp_m. All these years I was thinkingJelmer Vernooij6-11/+11
StrCaseCmp was sys_strcasecmp, while it is in fact strcasecmp_m! (This used to be commit 200a8f6652cb2de7a8037a7a4c2a204b50aee2b1)
2007-10-10r9778: Test for particular error returns, rather than just OK/not OK.Andrew Bartlett1-7/+103
Andrew Bartlett (This used to be commit fccbc15555871059e62bf720f115b2307a171667)
2007-10-10r9733: Test conversion from known sids in CrackNames.Andrew Bartlett1-0/+56
Andrew Bartlett (This used to be commit ad60d4571568d5b3edd98199462812a2f30c36cd)
2007-10-10r9728: A *major* update to the credentials system, to incorporate theAndrew Bartlett3-8/+8
Kerberos CCACHE into the system. This again allows the use of the system ccache when no username is specified, and brings more code in common between gensec_krb5 and gensec_gssapi. It also has a side-effect that may (or may not) be expected: If there is a ccache, even if it is not used (perhaps the remote server didn't want kerberos), it will change the default username. Andrew Bartlett (This used to be commit 6202267f6ec1446d6bd11d1d37d05a977bc8d315)
2007-10-10r9727: A simplier test I can aim at passing when I get the cracknames code done.Andrew Bartlett2-0/+38
Andrew Bartlett (This used to be commit b1b0e26e537677793a92af02464ff1e83fce9610)
2007-10-10r9702: r9680@blu: tridge | 2005-08-27 18:45:08 +1000Andrew Tridgell7-7/+7
- fixed ncacn_ip_tcp to use the generic async name resolution methods, so NBT names now work (as requested several times by abartlet!) - changed resolve_name() to take an event_context, so it doesn't cause the whole process to block - cleaned up the talloc_find_parent_bytype() calls to go via a cleaner event_context_find() call (This used to be commit b3d491b210a8b889a25efcb273e70fefbd01b7f7)
2007-10-10r9701: Provide correct parameters.Andrew Bartlett1-3/+3
Andrew Bartlett (This used to be commit 1cd62944f1387a3922e01dbee9bcf28f96f131ad)
2007-10-10r9681: We don't need the full smb_krb5_context here, so just pass the ↵Andrew Bartlett1-2/+2
krb5_context. Andrew Bartlett (This used to be commit 47699019dbb7aa48e7acd6bf8364e40917db8410)
2007-10-10r9649: missed a spot .....Andrew Tridgell1-0/+1
(This used to be commit d3b5d006717c24660244c6475ffc73cb0b56d021)
2007-10-10r9647: saved_pac is binary data, so prevent any possible portability ↵Andrew Tridgell1-1/+1
problems with signed chars (This used to be commit 4b3e3a9633bf7ce57f537b9897c0e9c613a99f7a)
2007-10-10r9608: don't validate the hard-coded sid for an external pac fileAndrew Tridgell1-1/+2
(This used to be commit 7e6957b906be760e7eb7e6ab6dbc86efeb0c42d2)
2007-10-10r9603: allow the LOCAL-PAC test to use keys and pac data from the command lineAndrew Tridgell1-10/+31
For example: bin/smbtorture //xx/y LOCAL-PAC --option 'torture:pac_file=x.dat' --option 'torture:pac_kdc_key=B286757148AF7FD252C53603A150B7E7' --option 'torture:pac_member_key=D217FAEAE5E6B5F95CCC94077AB8A5FC' (This used to be commit e0978ead23c493a802ce69ed7be871b2a9a54498)
2007-10-10r9584: Fix a race condition in Samba 3. If two files are opened ↵Volker Lendecke2-8/+137
simultaneously with NTCREATEX_DISP_CREATE (create if not exists, else fail) they might end up with two or more times NT_STATUS_OK as EEXIST is not correctly handled. Jeremy, please look closely at this. You can easily verify this by adding a smb_msleep(100) to the top of open_file_ntcreate and run the new samba4 torture test. It does also happen without the msleep, but not as reliably. Thanks, Volker (This used to be commit c803d4c9a588e39a90ddfe900be9b9de1a861f82)
2007-10-10r9578: fixed an endless loop and memory leak in the QueryMultipleValues testAndrew Tridgell1-3/+5
(This used to be commit ba909a64e92e9b2d2c8fd02fc9e9e0e7aa49dd0a)
2007-10-10r9575: more automatic cleanup code in winreg testAndrew Tridgell1-2/+7
(This used to be commit 0e30c80a53af45ee9112513c02a6a231e8b1a133)
2007-10-10r9574: - made the sec_info fields in lsa and samr use a IDL bitmapAndrew Tridgell1-125/+130
- fixed winreg_GetKeySecurity() to use a sec_info field correctly - simplied the winreg torture code, removing the separate opens for each hive - added torture cleanup code in winreg test - added 'create with security descriptor' in the winreg torture test (This used to be commit f20695decd587f7b6bbdbd4861441bd19ab85078)
2007-10-10r9567: fixed the winreg IDL for CreateKey, including a securityAndrew Tridgell1-7/+22
descriptor. To keep it simple I just use normal IDL buffers for now, avoiding the complex methods metze used in spoolss. We might change that later Also added decoding of the security_descriptor in winreg_GetKeySecurity() in smbtorture (This used to be commit 439f34a9621e2e96329c30cfed8d78b8fdfbd8a2)
2007-10-10r9547: A pile more completeness testing for DsCrackNames.Andrew Bartlett1-14/+143
Andrew Bartlett (This used to be commit 01c4a970ec22b3915b8017da018bd500b4fffcbc)
2007-10-10r9516: Try a full-on matrix test of all the combinations in DRSUAPIAndrew Bartlett1-2/+123
CrackNames. Andrew Bartlett (This used to be commit a82a419579872fc78b02c29972eaf55da22088c1)
2007-10-10r9431: Check an error code in BASE-DELETE.Volker Lendecke1-2/+13
Volker (This used to be commit 71571fffc0493a5658c5980e6ebe4d8f9ada4699)
2007-10-10r9422: Include crypto.h header.Andrew Bartlett1-0/+1
Andrew Bartlett (This used to be commit 340955220443533cc70dcb0ef9bae4815f30e6c5)
2007-10-10r9406: Add const.Andrew Bartlett1-3/+3
Andrew Bartlett (This used to be commit 4c6052ccfd6ff01eb00d8f953ae8912ea6dedba3)
2007-10-10r9391: Convert all the code to use struct ldb_dn to ohandle ldap like ↵Simo Sorce1-2/+2
distinguished names Provide more functions to handle DNs in this form (This used to be commit 692e35b7797e39533dd2a1c4b63d9da30f1eb5ba)
2007-10-10r9338: fixed the winreg IDL to be correct for the EnumKey and EnumValueAndrew Tridgell1-21/+26
calls. The previous IDL was just a workaround for the limitations of our older rpc infrastructure. Now that Jelmer has added much improved string support using the charset keyword we can correctly implemenent the unusual winreg string buffers. Jelmer, note the little comment I put on winreg_StringBuf() about why I couldn't use [value()] for the length field. This also fixes EnumKey() and EnumValue() to use NTTIME fields for the last_changed_time. I don't know why we were using a pair of uint32's, as it is just a NTTIME. (This used to be commit 8354b016122cc4f3cff042b3ada1de07e1614eb7)
2007-10-10r9238: Some test code to do user-unmarshalling of eventlog_Record data.Tim Potter1-0/+26
(This used to be commit d0225f10797eaeeb6d10cf753578703e144ee8dd)
2007-10-10r9234: Ensure we always change the end of the PAC, no matter what it is. FixAndrew Bartlett1-3/+3
typo in comment. Andrew Bartlett (This used to be commit c96f8594b16c6a5310e2e8727bb6975f2a193231)
2007-10-10r9222: Rename smb_tree_connect() to smb_raw_tcon() to match other raw functionTim Potter3-24/+28
names. (This used to be commit 26b191b3c9529b2dae5d004819dab46657064408)
2007-10-10r9167: Further PAC parionia: ensure the checksum fails if we modify it.Andrew Bartlett1-6/+45
Andrew Bartlett (This used to be commit ea4cc6bcbed4f26855d2f67d914c73453c524406)
2007-10-10r9166: This checks more of auth subsystem in the PAC test.Andrew Bartlett3-117/+147
Andrew Bartlett (This used to be commit 1fa87223eb66825ef2dd93966652fa84de6b0b2f)