summaryrefslogtreecommitdiff
path: root/source4/torture
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r13908: Improve the RPC-SAMSYNC test to cross-check some attributes I wasn'tAndrew Bartlett2-9/+32
sure about. This finds a new ACB_PW_EXPIRED attribute. Andrew Bartlett (This used to be commit 54caf949425cb9a3437bd7051930384167b5e07d)
2007-10-10r13903: Don't generate prototypes for modules and binaries in include/proto.h byJelmer Vernooij6-0/+6
default. (This used to be commit c80a8f1102caf744b66c13bebde38fba74983dc4)
2007-10-10r13902: Stricter checking for the -fvisibility flagJelmer Vernooij1-0/+1
Add two more proto headers. (This used to be commit 0c95bf0cd33d8a6c35f692b796d7fbfd98b4d068)
2007-10-10r13853: fixed the BASE-NEGNOWAIT test to not fail with a sigpipe if the serverAndrew Tridgell1-2/+3
drops the connection on multiple negprots (This used to be commit 34b2855a62368ddffa2946f072e96d21a9f15896)
2007-10-10r13839: Use registration mechanism for backends as well (in the same senseJelmer Vernooij1-0/+3
my previous patch added it for modules). This is the next step towards LDB backends and modules as run-time loadable .so files. (This used to be commit fb2f70de4f6c4a9b13ad590cb4d3a9c858cede49)
2007-10-10r13709: fix compiler warningsStefan Metzmacher1-2/+2
metze (This used to be commit 291da7bac3e8707009b239bd3c8b0a0d14f54481)
2007-10-10r13707: expanded the delete on close test some more, and make it easier toAndrew Tridgell1-47/+70
track down where a error is happening. The semantics sure are strange! (This used to be commit f722aed66d19edc6b49ecde927853aaa7895ab91)
2007-10-10r13658: More moving around of files:Jelmer Vernooij2-2/+2
- Collect the generic utility functions into a lib/util/ (a la GLib is for the GNOME folks) - Remove even more files from include/ (This used to be commit ba62880f5b05c2a505dc7f54676b231197a7e707)
2007-10-10r13652: Move some more stuff out off include/Jelmer Vernooij1-1/+1
(This used to be commit 26bf2a393b90acc098be0b30886dbba34d348a01)
2007-10-10r13627: split the NBT-WINSREPLICATION tests into multiple testsStefan Metzmacher2-5/+66
metze (This used to be commit ae559920e1d227e4e787fe34d908a965b922b284)
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)