summaryrefslogtreecommitdiff
path: root/source4/torture
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-10-10r9156: Add IDL and test for FlushEventLog() but it always seems to returnTim Potter1-10/+40
NT_STATUS_ACCESS_DENIED. (This used to be commit f18d1f539e4fd434dfc519e45f4c356c5cd4d73a)
2007-10-10r9155: Fix ReadEventLog() test so it now works.Tim Potter1-11/+5
(This used to be commit b76d35e7e2207f4da294a7cd1b5636b954162be2)
2007-10-10r9145: Some work on eventlog since jerry is doing some in Samba3. (-:Tim Potter1-6/+33
- Convert to use lsa_String instead of eventlog_String. - Copy across some constants. - Implement idl and testcase for ClearEventLog() function (This used to be commit 352b21af3f0a84ee31d0eecaa76abf2134d044de)
2007-10-10r9121: use the older non-passthru level for setting delete on closeAndrew Tridgell1-2/+2
disposition in the RAW-UNLINK test (this allows it to work with netapp servers) (This used to be commit 4f9cfd10bf92e5abf3c09bb0bf6cca3dfc3b6dfb)
2007-10-10r9090: Another field in usermod function - account flags.Rafal Szczesniak1-9/+9
rafal (This used to be commit f0d51b78c040937bd27857c063fae215a3f0f465)
2007-10-10r9084: 'resign' the sample PAC for the validation of the signature algorithms.Andrew Bartlett1-34/+22
If we ever get problems with the kerberos code, it should show up as a different signature in this PAC. This involved returning more data from the pac functions, so changed some callers and split up some functions. Andrew Bartlett (This used to be commit d514a7491208afa0533bf9e99601147eb69e08c9)
2007-10-10r9047: show the order of the server/correct output to make it easier to demo ↵Andrew Tridgell1-0/+2
this test ;) (This used to be commit 73ba1a8e3823330c6889d626e8e4fb392ebcab8a)
2007-10-10r9046: fixed display of privileges in RAW-ACLS testAndrew Tridgell1-2/+2
(This used to be commit 0ab907af6a4c3d1adbafccdb1bd4150c491bcba4)
2007-10-10r9045: be friendly towards servers that don't understand the 'share' form ↵Andrew Tridgell1-2/+4
for tconx, instead of the \\server\share form (This used to be commit 02a78d06e1018087859c9ec65b792b1ffcfd3981)
2007-10-10r9044: added a comment so you can see what this test does :-)Andrew Tridgell1-1/+2
(This used to be commit ee2744160892f28390662f4934dc4135e4378d78)
2007-10-10r9043: fixed return code in RAW-STREAMS testAndrew Tridgell1-1/+1
(This used to be commit 45e41010da19cafc9d50369c2d311a42e5172eb7)
2007-10-10r9042: fixed the valgrind error in the RAW-SFILEINFO testAndrew Tridgell2-1/+11
(This used to be commit eaf079e33f3e2d933b7310cf076d572b6988cbb4)
2007-10-10r9037: New fields in usermod function - allow_password_change andRafal Szczesniak1-7/+11
force_password_change datetime. rafal (This used to be commit dfa2cc6c4ed8273b1d3ee604954c81c75f0890bd)
2007-10-10r9028: make some function staticStefan Metzmacher1-3/+3
metze (This used to be commit 72643ac4c4724bdd3e73b5d10ff9bdf21eb46345)
2007-10-10r9010: forgot to commit the change to create_directory_handle()Andrew Tridgell1-6/+6
(This used to be commit 8d5238049376fb5887bdd478d7e3caa80ff1c6d0)