summaryrefslogtreecommitdiff
path: root/source4/torture
AgeCommit message (Collapse)AuthorFilesLines
2008-09-11Fix failures in the winbind struct-based test.Andrew Bartlett1-11/+0
Don't try to pass the 'privileged' socket directory around for expected value testing - it is just too hard... A better test (once we unify the winbind protocol with Samba3) would be a operation to see if you are on the priv pipe, and that will give acutal end-to-end testing. Andrew Bartlett (This used to be commit 2d4103518ab8a7286e65347b8b9b0ccb660e69f6)
2008-09-09A truncate write must be a smbcli_smbwrite, not aJeremy Allison1-1/+1
smbcli_write. Jeremy. (This used to be commit 8cebd4d36c862dcdc6551dc6bf4dda2342dfede7)
2008-09-09UNIX-WHOAMI: fix compiler warningsStefan Metzmacher1-2/+2
metze (This used to be commit ec5d8ddadb76ff0d2cb72872e4d145a7527f0ec6)
2008-09-08Make it easier to see when tests start/end.Jeremy Allison1-15/+52
Jeremy. (This used to be commit 6f89e728272ca14f0ed9557485e21647c0731ef2)
2008-09-08BASE-DELAYWRITE: test behavior of SMBwrite truncate, writeX, SMBwrite ↵Stefan Metzmacher1-0/+204
truncate and writeX again metze (This used to be commit 66b8c8d80e1c8e45ab6ca38cabebea07aa122c40)
2008-09-08BASE-DELAYWRITE: test behavior of writeX, SMBwrite truncate, writeX and ↵Stefan Metzmacher1-0/+206
SMBwrite again metze (This used to be commit 051164ba0a69d54aa706ffa876059e8dbbeacb36)
2008-09-08BASE-DELAYWRITE: demonstrate that a truncate write doesn't update the write ↵Stefan Metzmacher1-0/+157
time after SET_FILE_INFO metze (This used to be commit f81014db9d5afbf9e0b1c007bc56fc1d3a201309)
2008-09-08BASE-DELAYWRITE: demonstrate that the time between the open and the first ↵Stefan Metzmacher1-0/+159
write doesn't matter metze (This used to be commit 13d051cd633f4a4152d360453fe5297ad53cc7b5)
2008-09-08BASE-DELAYWRITE: test more details of the truncate write time update behaviorStefan Metzmacher1-4/+371
metze (This used to be commit 39367ef15fabbb52cd2c05be7ca59b25dc4aff71)
2008-09-08Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into ↵Andrew Bartlett1-3/+349
trusted-domains (This used to be commit a057c3ed9df2670e5cad5f1807e280d77eb58cb0)
2008-09-08More work towards trusted domains support in Samba4's LSAAndrew Bartlett1-1/+1
Make 'lsar_CreateTrustedDomain' consistant with lsar_CreateTrustedDomainEx{,2} by renaming handle -> policy_handle Implement LSA server logic to create the cn=users trust account for incoming trusts. Andrew Bartlett (This used to be commit d87b655e20b7c38756774cec2e5898af38c46786)
2008-09-05Don't compare identity, it'll never be different.Jeremy Allison1-2/+2
Jeremy. (This used to be commit 840369b5534eee21818b9d3677404b0fc60a0219)
2008-09-05Added tests that show that write time update is immediateJeremy Allison1-1/+347
when changing file size using SMBwrite of size zero, SET_END_OF_FILE, or SET_ALLOCATION_SIZE - no 2 second delay in these cases. Jeremy. (This used to be commit 3aa7523d7750fe30d1e6bb5a75ac42b681b9e493)
2008-09-04More work to implement LSA CreateTrustedDomainEx2Andrew Bartlett1-3/+37
We still don't get the format inside the encrypted blob correct however. Andrew Bartlett (This used to be commit 99a3abda09716c064b3e9a37c4a79a8f62444eca)
2008-09-03Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartletAndrew Bartlett1-2/+179
(This used to be commit 9590805bcbdd1924eda5a69978ffac7ec7603451)
2008-09-03Test a few more error cases in RPC-PACAndrew Bartlett1-2/+179
(This used to be commit 50502b3b8faf89cf5ad396102f4fe80eaa213908)
2008-09-02Start testing CreateTrustedDomainEx2Andrew Bartlett1-1/+108
Andrew Bartlett (This used to be commit 91ae8dca254aa8c032daf0c87fa2a47760d32586)
2008-09-01Follow MS-LSAD 3.1.4.7.12 and set defaults when creating a trust.Andrew Bartlett1-3/+18
Also check we get the defaults correct with a query in the torture suite. Andrew Bartlett (This used to be commit b55a1b63cc2f7de889f046e975e3414bc5000613)
2008-08-29It turns out that the Netlogon PAC verification is encrypted.Andrew Bartlett1-1/+3
This test now passes against Win2k3, and a implementation in the Samba4 server should follow shortly. Andrew Bartlett (This used to be commit c6b8ba893dd3ed90bca32c0ae89fd33be729c238)
2008-08-28Further rework the RPC-PAC test.Andrew Bartlett1-34/+15
This would seem to match the documentation requirements for the PAC verfication over NETLOGON, but I can't get Win2k3 to accept it so far. Andrew Bartlett (This used to be commit acfa87f3411a61bdd9066fbbba2bcfbe2a60cbbe)
2008-08-28Heimdal provides Kerberos PAC parsing routines. Use them.Andrew Bartlett1-3/+66
This uses Heimdal's PAC parsing code in the: - LOCAL-PAC test - gensec_gssapi server - KDC (where is was already used, the support code refactored from here) In addition, the service and KDC checksums are recorded in the struct auth_serversupplied_info, allowing them to be extracted for validation across NETLOGON. Andrew Bartlett (This used to be commit 418b440a7b8cdb53035045f3981d47b078be6c1e)
2008-08-27Add missing file - netlogon.hAndrew Bartlett1-0/+6
This file allows the remote_pac.c code to call into netlogon.c's setup credentials code. Andrew Bartlett (This used to be commit 0343987cf18c1287d98ae542d397ab1fab0a04b7)
2008-08-27Add a test to explore Netlogon PAC validationAndrew Bartlett5-4/+235
However, I have still not figured out this protocol yet, and the docs are rather unclear... :-( Andrew Bartlett (This used to be commit d878643071a1477435a267e2944461d367cdfa79)
2008-08-26Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartletAndrew Bartlett2-57/+98
(This used to be commit d7db5fe161429163a19d18c7e3045939897b9b2a)
2008-08-26Don't use lsa_Delete any more, as smbd now refuses it.Andrew Bartlett1-2/+3
(This used to be commit 8e1285a1ee60e3d3b7352ab7269d535c41916b46)
2008-08-26More LSA server and testuite work.Andrew Bartlett1-7/+25
- Implement QueryDomainInformationPolicy in Samba4 - Allow RPC-LSA to pass against Windows 2008 (which does not allow the Audit privilage to be removed) Andrew Bartlett (This used to be commit d94c7bbcd6eee6d975eac32a1d172f4164c97137)
2008-08-26Make RPC-LSA test deterministic with an msleep(200).Andrew Bartlett1-5/+8
(This used to be commit 914e1865aa9fba417f74a3abdd8b4b2659feb001)
2008-08-26Update RPC-LSA to (almost) pass against Windows 2008.Andrew Bartlett1-45/+61
(This used to be commit a17cb558c23142e522de3ed56d65c7694477395f)
2008-08-25Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-localAndrew Bartlett3-12/+168
(This used to be commit a555334db67527b57bc6172e3d08f65caf1e6760)
2008-08-24fixed the data in SAVEFILE op in RAW-OFFLINEAndrew Tridgell1-1/+1
(This used to be commit 3441ea5df5b750442d17b90de73d392d2d802ab1)
2008-08-24show the bad data in RAW-OFFLINEAndrew Tridgell1-3/+10
also show the worst case latencies so far, matching tsm_torture (This used to be commit 5859bb337ce2ec5091425ebd02cad14c4da40457)
2008-08-23don't use zero data for the first file in RAW-OFFLINEAndrew Tridgell1-2/+2
the most likely bugs in HSM involve zero data, due to the dm_punch_hole() request (This used to be commit 330ab956ea7e0b344450eee60b1357d854fbef28)
2008-08-22Merge branch 'abartlet-4-0-local' into v4-0-testAndrew Tridgell1-0/+146
(This used to be commit 469fac2669991b130dec219e1a109a8b2ce224be)
2008-08-20drsuapi: fix samba4 callers after drsuapi.idl changesStefan Metzmacher1-6/+9
metze (This used to be commit 4b054cee51c39c5430bcadd5c06a94dc3e6b0d8f)
2008-08-20Add a torture test for the new 'netlogon' flags.Matthias Dieter Wallnöfer1-0/+146
Signed-off-by: Andrew Bartlett <abartlet@samba.org> (This used to be commit a484334fb4dafd1df514d1bf88f7e0c4f07dff86)
2008-08-15Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-localAndrew Bartlett1-1/+3
(This used to be commit 3731f7eaea6e5ed89d24e383dae0531cb58d77dc)
2008-08-15Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartletAndrew Bartlett4-67/+187
(This used to be commit b4b14b748e6babc93faee23fe8f5c03ec2d25cbb)
2008-08-15Don't segfault in RPC-ATSVC.Andrew Bartlett1-1/+3
(This used to be commit e711f7d26a632ec93c1e2a3db52c37e1c0de4214)
2008-08-15Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-localAndrew Bartlett4-67/+187
(This used to be commit b337369d5c86b37d93ee1c62880068e14d6c09f6)
2008-08-14RAW-OPEN: be more strict in create_option checkingStefan Metzmacher1-2/+11
metze (This used to be commit d548f5dee5980eae0aea25f1314238eb4f963568)
2008-08-14SMB2-CREATE: add a special test for FILE_ATTRIBUTE_ENCRYPTEDStefan Metzmacher1-2/+21
Some standalone server (and samba4) doesn't support this. metze (This used to be commit 6d8fd4c0089d7e632ec91027a77321aca8c6acc7)
2008-08-14SMB2-CREATE: be more strict in checking file attributesStefan Metzmacher1-12/+20
metze (This used to be commit ba9d0f6b3c60346df757e7c4c3f5704c0bf26d11)
2008-08-14SMB2-CREATE: be more strict in error checkingStefan Metzmacher1-1/+11
metze (This used to be commit d7d4df78c1de19d0cd7a63daaa2fa0863a243a12)
2008-08-14NBT-WINSREPLICATION: be more robust to timing errorsStefan Metzmacher1-6/+6
Also reenable disabled tests. metze (This used to be commit 76878a9c798e0acb0387b8352972d66db989c09a)
2008-08-14expanded the SMB2-CREATE and RAW-OPEN tests to explore more of how theAndrew Tridgell2-8/+67
create options fields are supposed to work (This used to be commit 0576875eccaa21ad529c9db41db91781ad400d0f)
2008-08-14cope with not knowing the kdc keyAndrew Tridgell1-41/+56
(This used to be commit 7e48dad4c7724f3f11236171a777603574224c42)
2008-08-14Assert on failure to join domain in NBT-DGRAMAndrew Bartlett1-0/+4
(This used to be commit 0a8080d0f245ddf0177195dd8e7fb3e1cdc0785f)
2008-08-08We can't use ndr_pull_struct_blob_all in combinatin with relative pointersAndrew Bartlett1-3/+4
(This used to be commit d0a128f35b259d4891edc68fc24aa04a6da7aab7)
2008-08-07drsuapi: fix callers after idl changeStefan Metzmacher1-1/+1
metze (This used to be commit 7dee6fb62d5adbd2eaaaf4d8ba9e87a72ef9f94b)
2008-07-31Print trustAuthOutgoing and trustAuthIncoming in RPC-DSSYNCAndrew Bartlett1-6/+22
(This used to be commit 6673a6e62399c4956a44a06685aa91ce8145b92a)