summaryrefslogtreecommitdiff
path: root/source4/script/tests
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r15875: Fix bug in smbclients 'put' command tridge found a while ago. Add testsJelmer Vernooij1-3/+21
for 'put' and 'get' commands so we don't break them again. Fixes #3742 (This used to be commit 141600a624ca90374c2f306139015f8c7487cc0f)
2007-10-10r15862: add a LOCAL-EVENT torture testStefan Metzmacher1-1/+4
- it currently tests the standard events code - with epoll enabled and disabled metze (This used to be commit ce5fd2293d5ce1f6a54048bc5662706943c98eb5)
2007-10-10r15832: put a talloc leak report in the log file at the end of each test runAndrew Tridgell1-1/+1
(This used to be commit 16c67e135a35830aaa937c38fa2ed940decb5a17)
2007-10-10r15785: Change the test names according to changes made in libnet torture test.Rafal Szczesniak1-3/+3
rafal (This used to be commit 857993bfe4179f88227bc1cc7e8a8df10bafb6c1)
2007-10-10r15684: fix option passingStefan Metzmacher1-2/+2
metze (This used to be commit c567d92f5bae4459220a4411dc7ec8867ea1dafe)
2007-10-10r15665: ejsnet test should be better now, after changes in deleteRafal Szczesniak1-1/+1
user routine. rafal (This used to be commit 9bb54159298d7cf59bbc8be0657968fa957fa9e6)
2007-10-10r15627: Disabling test of ejsnet till the time I find the reason whyRafal Szczesniak1-1/+1
it's segfaulting. It's late so I just don't want to keep the build farm all in red PANIC messages. rafal (This used to be commit 6c41e64ce7a11a439cc720966b127e42b53c8711)
2007-10-10r15622: pass 'target:samba4=yes' to samba4's smbtorture when running ↵Stefan Metzmacher1-0/+2
samba4's make test we can use this in samba4's smbtorture to disable tests sections which doesn't pass against samba4 metze (This used to be commit 430c7143c66846565e851a3243db0d81ec886d6e)
2007-10-10r15486: Ensure that our Samba3-like implementation of fake-GSSAPI is tested.Andrew Bartlett1-0/+4
This also tests that the server accepts the incorrect GSSAPI checksum, and that we get the right session key. Andrew Bartlett (This used to be commit 888e2b7f4ec8e50869d323e51f191e018f8620ec)
2007-10-10r15426: Implement SPNEGO as the default RPC authentication mechanism. WhereAndrew Bartlett3-7/+11
this isn't supported, fallback to NTLM. Also, where we get a failure as 'logon failure', try and do a '3 tries' for the password, like we already do for CIFS. (Incomplete: needs a mapping between RPC errors and the logon failure NTSTATUS). Because we don't yet support Kerberos sign/seal to win2k3 SP1 for DCE/RPC, disable this (causing SPNEGO to negotiate NTLM) when kerberos isn't demanded. Andrew Bartlett (This used to be commit b3212d1fb91b26c1d326a289560106dffe1d2e80)
2007-10-10r15390: Make test output a bit prettier.Tim Potter1-0/+3
(This used to be commit 7e4d3bb81859d27424edf5cbcc1101c414160c0c)
2007-10-10r15275: run RPC-SRVSRV in make testStefan Metzmacher1-1/+1
metze (This used to be commit 4044d7959b226ed85a2d32bfe5d15536e39e42ab)
2007-10-10r15187: Introduce new param type P_BYTES. This lets config options which specifyJames Peach1-0/+1
byte counts be given in convenient units. (This used to be commit 1b8891a2f389c1016c3cfcbe635ed86d015554d8)
2007-10-10r14971: Update test script with new location of tdb and ldb wrappers.Tim Potter1-1/+1
(This used to be commit 7794dcd096d011ff0d8d9717040c879e0ec8c67f)
2007-10-10r14929: add some commentsStefan Metzmacher1-2/+15
metze (This used to be commit 5d40e10d8e5cef542826cd6ebda85cd602a2bf11)
2007-10-10r14919: disable the BASE-DEFER_OPEN test until it gets fixed (it sleeps forAndrew Tridgell1-2/+2
way too long). Jeremy, whats the idea behind those long sleeps? its also redundent, as the RAW-MUX test already tests the sharing violation open delay (This used to be commit d63d113c8aaa0104ab23380533dbc081c1ab0898)
2007-10-10r14908: Fix LD_LIBRARY_PATHJelmer Vernooij1-1/+1
(This used to be commit c4668192f96b9b32af23a05f9f97dc87fdc41089)
2007-10-10r14878: Write swig wrappers for ldb_init() and ldb_connect().Tim Potter1-0/+1
Start wrapper for ldb_search(). Currently it returns a list of swig ldb_message objects. More unpacking of results required. (This used to be commit 704787978aa705edba233249e8eab236ffe303a4)
2007-10-10r14873: Add skeleton swig ldb interface.Tim Potter1-0/+1
(This used to be commit c6c759e19f7fb9232d9c97b66d140c1bb0876dff)
2007-10-10r14819: list all tests smbtorture offers and explicit list testsStefan Metzmacher1-16/+28
for skipping metze (This used to be commit 127fe33c460ff77c53ad53728782bdb119bcdfb4)
2007-10-10r14815: BASE-DIR doesn't exists...Stefan Metzmacher1-1/+1
metze (This used to be commit 711df01cc82037b47f750572387accbf28d10bfc)
2007-10-10r14814: also run the BASE-DIR test with 'make test'Stefan Metzmacher1-1/+1
metze (This used to be commit b52baadf2233335f5f92b4e08b7f1c2dfd0d764f)
2007-10-10r14802: Fix typo.Tim Potter1-1/+1
(This used to be commit 757805f02050a6023ff728c28e2f79d00f277f6f)
2007-10-10r14798: Get swig building again (by commenting out dcerpc stuff for now).Tim Potter1-0/+19
Add the start of a test framework for swigged functionality. (This used to be commit 3dfd0959f78518c021417f3f1158c51d70a1e88c)
2007-10-10r14740: Try loading shared libs from the bin/ directory (useful for running ↵Jelmer Vernooij1-0/+3
'make test' without developer mode) (This used to be commit 3aafd0902094b7d3ed3c4ebe2c9245e2a86d53ea)
2007-10-10r14738: do some different lookupsStefan Metzmacher1-5/+5
metze (This used to be commit f61bd2e9a2b59a3e5c7eded6b4a7075d193c980a)
2007-10-10r14717: Don't provision the system as 'localhost', but instead list localhostAndrew Bartlett1-2/+7
as an alias. The netbios name is then 'localtest', which will resolve with netbios and work with krb5. Andrew Bartlett (This used to be commit cc7c84bfc947e28bae56815d8bde5d0565328e2b)
2007-10-10r13854: we now pass BASE-NEGNOWAITAndrew Tridgell1-2/+2
(This used to be commit d55db268ca90167c8ef5545937d7169b0dfcb69b)
2007-10-10r13850: Test (and fix) not using SPNEGO at all, but instead using raw NTLMSSP.Andrew Bartlett1-0/+1
The switch to turn off SPNEGO in the client is a bit messy, but it works. Andrew Bartlett (This used to be commit 085ba80cc8a954bd84ecf30e5d57a1583f54062f)
2007-10-10r13753: /bin/sh -> /bin/bash as this script uses some bash-specific constructsJelmer Vernooij1-1/+1
(This used to be commit fb620c2706fec93f34afcdbafa999fbaff724467)
2007-10-10r13740: the BASE-DELETE test now passes, and is a quick testAndrew Tridgell2-3/+3
(This used to be commit b6c2d1e0b958a029053f7d1f5abef00708d018e1)
2007-10-10r13629: export env-varsStefan Metzmacher1-0/+2
metze (This used to be commit fbd78b6272eaca4b89071139e4b34cbdd15ed644)
2007-10-10r13628: fix the logic:-)Stefan Metzmacher1-1/+1
metze (This used to be commit 7f1de54c84f86c292833c7e66ab2699ee4f83c52)
2007-10-10r13627: split the NBT-WINSREPLICATION tests into multiple testsStefan Metzmacher2-1/+10
metze (This used to be commit ae559920e1d227e4e787fe34d908a965b922b284)
2007-10-10r13605: Use $BASEDN to ensure this works outside of the 'make test' rig.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit b0e7a58cc9e513240c117ad5464c613c7b62410d)
2007-10-10r13472: After Volker's advise, try every combination of parameters. ThisAndrew Bartlett1-15/+20
isn't every parameter on NTLMSSP, but it is most of the important ones. This showed up that we had the '128bit && LM_KEY' case messed up. This isn't supported, so we must look instead at the 56 bit flag. Andrew Bartlett (This used to be commit 990da31b5f63f1e707651af8bf1a3241a8309811)
2007-10-10r13380: Drop the socket, then try SAMR operations secured with netlogon on ↵Andrew Bartlett1-3/+3
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-10r13355: check controls are correctly exportedSimo Sorce1-0/+7
(This used to be commit 07fa55db32dcb93bfb4406baca0cfba31d3bc189)
2007-10-10r13354: Add tests to check that controls work properlySimo Sorce1-5/+34
Fix asq module, add a second_stage_init to register with rootdse Fix asq control ldap parsing routines (this was nasty to find out) (This used to be commit 933a80397d137f7d5b79c82a068d62bb6928ef47)
2007-10-10r13255: New CIFS dd client for use in performance testing. The guts of this isJames Peach3-0/+87
in client/cifsdd*, which implements a minimal implementation of dd. The IO path is careful to always perform IO at the requested block size. There is a very basic test suite in script/tests/test_cifsdd.sh which covers local and remote IO at a variety of block sizes. Added to lib/util_str.c is a small set of conv_str_*() functions to convert strings to the corresponding type. smbcli_parse_unc is modified to insert NULL terminators after its hostname and sharename parameters. This allows it to correctly parse a path of the form //foo/share/path/file. (This used to be commit cd2f94a65817bfae20ac21b730a2c42d8e581ab3)
2007-10-10r13244: Allow control of the location of the Samba3-compatible winbindd pipeAndrew Bartlett1-0/+2
in Samba4. This allows us to start winbindd by default, including in 'make test'. This is via a new 'winbindd socket directory' parameter for utilities linked against loadparm, as well as a --with-winbindd-socket-dir option to configure (setting the default and the value for simple clients). I hope to add basic winbindd tests, to ensure continued correct operation, but at least now I don't have to manually change my 'server services' line. The other problem with the hard-coded /tmp/.winbind is that RedHat has moved this in Fedora (to /var/run I think). For this reason, this functionality should probably be ported to Samba3 as well. The default for Samba4 is PREFIX/var/run/winbind_pipe. I have also re-added the paranoia checks from Samba3 for correct permissions on the socket directory. Andrew Bartlett (This used to be commit 8866aa06ffc3896094c878e9c07b40c03826d9a7)
2007-10-10r13240: Make the test scripts use the new smb.conf location (in PREFIX/etc).Andrew Bartlett1-3/+4
Andrew Bartlett (This used to be commit ea0a53d6795488ed530c3436343587595221cb78)
2007-10-10r13210: Revert my named pipes patch until it passes not just 'make ↵Jelmer Vernooij1-1/+1
quicktest' but also 'make test' (This used to be commit e3d0676aee84e96e5c87bed4cd0cde75a4191953)
2007-10-10r13208: Clearly separate named pipes from the IPC$ NTVFS type.Jelmer Vernooij1-1/+1
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-10r13160: Fix some of the smbclient testsuite (after failures on the buildfarm)Jelmer Vernooij1-21/+17
(This used to be commit 765991ab486188bce76332b00194efbd6cbb3e01)
2007-10-10r13156: Add some tests for smbclientJelmer Vernooij3-0/+71
(This used to be commit 861d45beda0e10b52ab8a82a1d92844d18685bba)
2007-10-10r12902: Fix 'make quicktest'.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit c2eca05074ee7af6e3ddffc25dac5a939bdd7e9a)
2007-10-10r12892: Add a 'Migrate from Windows' page to our installation section in SWAT.Andrew Bartlett2-3/+5
Doing this required reworking ejsnet, particularly so it could take a set of credentials, not just a username and password argument. This required fixing the ejsnet.js test script, which now adds and deletes a user, and is run from 'make test'. This should prevent it being broken again. Deleting a user from ejsnet required that the matching backend be added to libnet, hooking fortunetly onto already existing code for the actual deletion. The js credentials interface now handles the 'set machine account' flag. New functions have been added to provision.js to wrap the basic operations (so we can write a command line version, as well as the web based version). Andrew Bartlett (This used to be commit a5e7c17c348c45e61699cc1626a0d5eae2df4636)
2007-10-10r12874: Try to give the startup a few more seconds, so that hosts withAndrew Bartlett1-0/+3
gnutls-devel installed do not miss the first test. Andrew Bartlett (This used to be commit 6e17864c5d2ffc6b4e532e693426574fc57741bf)
2007-10-10r12858: This moves the libnet_LookupPdc code to use a GetDC request to findAndrew Bartlett2-4/+4
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)