summaryrefslogtreecommitdiff
path: root/source4/torture
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r13583: Realise that the member server name appears in all calls that use theAndrew Bartlett4-11/+34
credentials. Consistantly rename these elements in the IDL to computer_name. Fix the server-side code to always lookup by this name. Add new, even nastier tests to RPC-SCHANNEL to prove this. Andrew Bartlett (This used to be commit 341a0abeb4a9f88d64ffd4681249cb1f643a7a5a)
2007-10-10r13551: Add an accessor function for the user sid.Andrew Bartlett1-0/+5
Andrew Bartlett (This used to be commit 273cb8fd4288f7bf15e0bcad9f6a4cbf4f142b24)
2007-10-10r13479: Return the joined domain SID and user SID as structures, not strings.Andrew Bartlett2-11/+11
Andrew Bartlett (This used to be commit e1de45bce47292eef1f9c56ea5576c0436e6151d)
2007-10-10r13404: Comments, whitespace.Andrew Bartlett1-3/+4
Andrew Bartlett (This used to be commit 04e2fe8b6d293092af86a54215c1fa037bbb20e9)
2007-10-10r13402: Make Samba4 pass a nastier RPC-SCHANNEL test.Andrew Bartlett1-4/+7
The new RPC-SCHANNEL test shows that the full credentials state must be kept in some shared memory, for some length of time. In particular, clients will reconnect with SCHANNEL (after loosing all connections) and expect that the credentials chain will remain in the same place. To achive this, we do the server-side crypto in a transaction, including the fetch/store of the shared state. Andrew Bartlett (This used to be commit 982a6aa871c9fce17410a9712cd9fa726025ff90)
2007-10-10r13381: Test the SamLogonEx SamLogon call in the schannel test. This is onlyAndrew Bartlett1-0/+117
available under schannel, and performs a netlogon authentication. Andrew Bartlett (This used to be commit 561a690915f9d3ca2fbb76f16c47cf2f6be1b825)
2007-10-10r13380: Drop the socket, then try SAMR operations secured with netlogon on ↵Andrew Bartlett1-0/+29
the new socket. We should also test netlogon operations, but there are issues with what state is expected to be stored (far more than we currently do). Andrew Bartlett (This used to be commit 39ddba0d0dc4475f9f7c5b7aa19ffff42c9fd1f5)
2007-10-10r13373: Implement the -p option for smbtorture.James Peach1-2/+7
(This used to be commit fc17a50b48189c60af60b9163695b48c6b87c5c7)
2007-10-10r13370: Added deltest21 - pull the rug out from a connection by socketJeremy Allison1-81/+90
close after setting delete on close flag. Jeremy. (This used to be commit fbea18e78f8a3c6dbb36aa935b7044c0fcf61da4)
2007-10-10r13346: use private proto header files for the torture testsStefan Metzmacher24-1/+66
metze (This used to be commit 67837dbd2bcff8ec1917ba02884ee2eaa0776b46)
2007-10-10r13297: It's a good thing the shipment of function headers tridgeJeremy Allison1-221/+404
sent me arrived on time... :-). Refactor this code to make it comprehensible. Tested against W2K3 SP 1 and W2K SP 4. Test 19 is different from what I thought. Turns out delete on close on "open" of a directory (not create) does have an effect - even if not reported in the flag bit. trige please test against Vista (my XP box is refusing to serve at the moment - have to reinstall). Jeremy. (This used to be commit 2b708e26185bfc0a909a33e74e67dd2101c3bbbe)
2007-10-10r13277: print a useful error message when test 17 failsAndrew Tridgell1-2/+2
(This used to be commit 70ad98b05136da0cdbd91b8374ac9709abfcadeb)
2007-10-10r13275: With a liberal sprinkling of smb_raw_exit thisJeremy Allison1-9/+70
now passes for me for W2K and W2K3... booting the XP box to test it... Jeremy. (This used to be commit 0133ba78c15b10e925f4e26e163656aa7cd11476)
2007-10-10r13272: Re-arrange so all the normal tests we can pass come first.Jeremy Allison1-90/+92
Jeremy. (This used to be commit 0b61a8df3c1b5b1a73bf6afd0404871286d3a2fc)
2007-10-10r13271: Do the same tests with directories.Jeremy Allison1-2/+161
Jeremy. (This used to be commit 7986af2ece2e707ee3d98dadb37af9fc5126d138)
2007-10-10r13270: Add tests for even more insane delete-on-close semantics.Jeremy Allison1-0/+142
Jeremy. (This used to be commit ae0851ce667c0559e786c3a83389ccfddce1a813)
2007-10-10r13228: revert more stuff from 13208Stefan Metzmacher2-0/+3
metze (This used to be commit 6c7065463fded629febd03efb2943d24cac74fda)
2007-10-10r13210: Revert my named pipes patch until it passes not just 'make ↵Jelmer Vernooij4-129/+5
quicktest' but also 'make test' (This used to be commit e3d0676aee84e96e5c87bed4cd0cde75a4191953)
2007-10-10r13208: Clearly separate named pipes from the IPC$ NTVFS type.Jelmer Vernooij4-6/+127
This allows the easy addition of additional named pipes and removes the circular dependencies between the CIFS, RPC and RAP servers. Simple tests for a custom named pipe included. (This used to be commit 898d15acbd18e3b302a856c847e08c22c5024792)
2007-10-10r13182: Add first bits of browsing testsuite.Jelmer Vernooij3-1/+56
(This used to be commit 841fb3d4e764dc7ae8222ad7cb69dc6244035ea2)
2007-10-10r13170: Remove some dependencies on -1 implying the size of pstringJelmer Vernooij1-3/+3
(This used to be commit f7c28d31481f6479f258cd878d173cbc42ed9de0)
2007-10-10r13035: active,special group replicas are overwritten by tombstone,special ↵Stefan Metzmacher1-0/+122
group replicas metze (This used to be commit cf669e4b2a4dcfb080cbb01a108797acad802f36)
2007-10-10r13004: fix compiler warningsStefan Metzmacher6-15/+15
metze (This used to be commit 833efdf8a943b210ba8e5b219dc754260001bedb)
2007-10-10r12988: delete an ancient file that misteriously survived till now.Simo Sorce1-89/+0
(This used to be commit 7b9b1ced7d36a1adf8d86b3b434c9e5d4bdfab87)
2007-10-10r12907: skip some tests for make quicktest in NBT-WINSREPLICATIONStefan Metzmacher1-0/+3
metze (This used to be commit b206c5e87c791ac8f2ecf5b7ef6b2622ad735f54)
2007-10-10r12865: Upgrade the librpc and libnet code.Andrew Bartlett3-8/+5
In librpc, always try SMB level authentication, even if trying schannel, but allow fallback to anonymous. This should better function with servers that set restrict anonymous. There are too many parts of Samba that get, parse and modify the binding parameters. Avoid the extra work, and add a binding element to the struct dcerpc_pipe The libnet vampire code has been refactored, to reduce extra layers and to better conform with the standard argument pattern. Also, take advantage of the new libnet_Lookup code, so we don't require the silly 'password server' smb.conf parameter. To better support forcing traffic to be sealed for the vampire operation, the dcerpc_bind_auth() function now takes an auth level parameter. Andrew Bartlett (This used to be commit d65b354959842326fdd4bd7eb7fbeea0390f4afa)
2007-10-10r12864: Fix valgrind errors in NET-API-LOOKUP* tests.Andrew Bartlett1-0/+2
Andrew Bartlett (This used to be commit 21f87f87a9b79da4463bddc993df502beae50a16)
2007-10-10r12858: This moves the libnet_LookupPdc code to use a GetDC request to findAndrew Bartlett3-86/+27
the remote server's name, or in the absence of a local nbt_server to communicate with (or without root access), a node status request. The result is that we are in a better position to use kerberos, as well as to remove the 'password server' mandatory parameter for the samsync and samdump commands. (I need this to put these into SWAT). The only problem I have is that I must create a messaging context, which requires a server ID. As a client process, I don't expect to get messages, but it is currently required for replies, so I generate a random() number. We probably need the servers to accept connections on streamed sockets too, for client-only tasks that want IRPC. Because I wanted to test this code, I have put the NET-API-* tests into our test scripts, to ensure they pass and keep passing. They are good frontends onto the libnet system, and I see no reason not to test them. In doing so the NET-API-RPCCONNECT test was simplified to take a binding string on the command line, removing duplicate code, and testing the combinations in the scripts instead. (I have done a bit of work on the list shares code in libnet_share.c to make it pass 'make test') In the future, I would like to extend the libcli/findds.c code (based off volker's winbind/wb_async_helpers.c, which is why it shows up a bit odd in the patch) to handle getting multiple name replies, sending a getdc request to each in turn. (posted to samba-technical for review, and I'll happily update with any comments) Andrew Bartlett (This used to be commit 7ccddfd3515fc2c0d6f447c768ccbf7a220c3380)
2007-10-10r12835: RpcConnect test expansion to test connecting using ncacp_ip_tcpRafal Szczesniak1-12/+74
as well as ncacn_np. rafal (This used to be commit 70cf8a4b67657f7c51e95ae5321e5a2e7f52832d)
2007-10-10r12812: speed up RPC-ECHO with validate some more, and re-enable it underAndrew Tridgell1-2/+9
valgrind in 'make valgrindtest' (This used to be commit b2030d527a75fecd907148d13860b4ba5193f218)
2007-10-10r12811: valgrind on RPC-ECHO with validate is extremely slow - speed it up ifAndrew Tridgell1-2/+16
torture:quick is set (This used to be commit b591b28567eba148509c5dec060efaef2fd95ff6)
2007-10-10r12804: This patch reworks the Samba4 sockets layer to use a socket_addressAndrew Bartlett7-105/+239
structure that is more generic than just 'IP/port'. It now passes make test, and has been reviewed and updated by metze. (Thankyou *very* much). This passes 'make test' as well as kerberos use (not currently in the testsuite). The original purpose of this patch was to have Samba able to pass a socket address stucture from the BSD layer into the kerberos routines and back again. It also removes nbt_peer_addr, which was being used for a similar purpose. It is a large change, but worthwhile I feel. Andrew Bartlett (This used to be commit 88198c4881d8620a37086f80e4da5a5b71c5bbb2)
2007-10-10r12801: Some more include/ cleanups (remove unused macros + move filesJelmer Vernooij1-1/+1
to specific dirs) (This used to be commit 243cf760b077e155f5ac508aeebf819f7708a84e)
2007-10-10r12791: fix compiler warningStefan Metzmacher1-1/+0
metze (This used to be commit 6647feb761a272b687d12685bc096e4ebdd02abe)
2007-10-10r12782: Don't segfault if we cannot setup messaging.Andrew Bartlett1-0/+10
Andrew Bartlett (This used to be commit 59c380e048423d706ab65513c09dbefecb5819ae)
2007-10-10r12767: Add some trusted lookupsVolker Lendecke1-5/+67
(This used to be commit 568fc8a3412e07ac3084f441e693bc82b9ea912b)
2007-10-10r12766: fix the buildVolker Lendecke1-1/+1
(This used to be commit d73c343904f32956ba97e4ad82af9c9a75f5d70c)
2007-10-10r12765: Revert an accidential commitVolker Lendecke1-86/+1
(This used to be commit d96c84126dcc1ec97e39814f21de167528fe886f)
2007-10-10r12764: Add a test for lsa_lookup. This will be expanded when I get around ↵Volker Lendecke4-1/+352
to add trusted domains. Volker (This used to be commit 8b8bb85ad365721bfa1cf5309d53d851f2013c22)
2007-10-10r12696: Reduce the size of include/structs.hJelmer Vernooij5-3/+2
(This used to be commit 63917616016133c623fc6ff59454bc313ee7dd8f)
2007-10-10r12694: Move some headers to the directory of the subsystem they belong to.Jelmer Vernooij51-1/+51
(This used to be commit c722f665c90103f3ed57621c460e32ad33e7a8a3)
2007-10-10r12693: Move core data structures out of smb.h into core.hJelmer Vernooij80-0/+80
torture prototypes in seperate header (This used to be commit 73610639b23ca3743077193fa0b1de7c7f65944d)
2007-10-10r12641: - remove some unused functionsStefan Metzmacher1-2/+1
- we already call usleep() directly in some places, so do it everywhere metze (This used to be commit 9eaf6e2c4d3dae3b6711e4aae3828222f5cab65e)
2007-10-10r12639: - do some tests with 0x20 0x1B namesStefan Metzmacher1-4/+16
- do some tests with 0xBF and 0xBE, this shows that the '+' padding should be done by the client metze (This used to be commit 5a257ba9811b247a0df2b44c99df00f59dacc1e0)
2007-10-10r12637: test CLDAP with both NULL and non-NULL userAndrew Tridgell1-0/+6
(This used to be commit 2b603d3ecf2f3108942422bda864e41c8addbf60)
2007-10-10r12636: fixed some torture code for the changed lsa string typesAndrew Tridgell2-5/+5
(This used to be commit ce77c0e8bf4127027edd6291d2ae5d868e3372a1)
2007-10-10r12622: Move table.c prototypes to seperate header to prevent circular ↵Jelmer Vernooij6-0/+6
dependencies with proto.h (This used to be commit 9e0ba380374db028358158b9e4457dd930b5ab13)
2007-10-10r12620: Get rid of automatically generated lists of init functions of ↵Jelmer Vernooij5-8/+9
subsystems. This allows Samba libraries to be used by other projects (and parts of Samba to be built as shared libraries). (This used to be commit 44f0aba715bfedc7e1ee3d07e9a101a91dbd84b3)
2007-10-10r12608: Remove some unused #include lines.Jelmer Vernooij61-82/+0
(This used to be commit 70e7449318aa0e9d2639c76730a7d1683b2f4981)
2007-10-10r12597: One less void *Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit a328acc8fa73703bba72b94084063906ec63cdc3)