summaryrefslogtreecommitdiff
path: root/source4/script
AgeCommit message (Collapse)AuthorFilesLines
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-10r13157: Fix installation of js filesJelmer Vernooij1-1/+1
(This used to be commit 2384dec6f2451d86fc4b7737b663379623ae4a5c)
2007-10-10r13156: Add some tests for smbclientJelmer Vernooij3-0/+71
(This used to be commit 861d45beda0e10b52ab8a82a1d92844d18685bba)
2007-10-10r13153: Try to move closer to FHS. This probably breaks everything...Andrew Bartlett1-8/+9
Andrew Bartlett (This used to be commit 2c02a45d5a6c79ced7aea0f7e9d23fae19c2d127)
2007-10-10r13112: merge over some stuff from samba3Stefan Metzmacher1-3/+27
metze (This used to be commit 7cb4e1bd0471f0c03fde25f6171565d74ab0549f)
2007-10-10r13079: add SAMBA_VERSION_RELEASE_NICKNAMEStefan Metzmacher1-5/+15
if it's set in source/VERSION smbd --version will print 4.0.0tp1 (Nickname) metze (This used to be commit 780870293b8109250b16101649f110ba22c1932b)
2007-10-10r13077: Allow the mkversion script to be used for technology preview releasesJelmer Vernooij1-5/+6
(This used to be commit 2636e6c948c850e61debf75ff63b5d02f537e917)
2007-10-10r13019: Again protect us against format string mismatches, with the new splitAndrew Bartlett1-1/+5
out proto headers. The reason this is done in this way is that the attribute must be on the prototype, not the actual function defintion. Hence the macros which expand to nothing in the C file, but expand to an __attribute__ in the prototype header. Andrew Bartlett (This used to be commit a88933668f908a398bb0d8bc7dc39c96cee40de6)
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)
2007-10-10r12831: add 'extern' to public prototypesStefan Metzmacher1-2/+4
metze (This used to be commit d4d2f011e2ba11dee67aa6933a75bb6088f92fc0)
2007-10-10r12812: speed up RPC-ECHO with validate some more, and re-enable it underAndrew Tridgell1-10/+3
valgrind in 'make valgrindtest' (This used to be commit b2030d527a75fecd907148d13860b4ba5193f218)
2007-10-10r12806: tridge: in revision 12634 you introduced to validate the ndr_print ↵Stefan Metzmacher1-5/+12
output and RPC-ECHO doesn't pass under valgrind anymore with this metze (This used to be commit 2482bf969d5b903a01ace8fa9237dd440b98196c)
2007-10-10r12778: export TEST_DATA_PREFIX in make testStefan Metzmacher1-0/+3
metze (This used to be commit beea805a61d15dbb38add0a9c333e01279f71ada)
2007-10-10r12696: Reduce the size of include/structs.hJelmer Vernooij1-8/+5
(This used to be commit 63917616016133c623fc6ff59454bc313ee7dd8f)
2007-10-10r12584: Move NDR tests from rpc/ to local/, add to list of testsJelmer Vernooij1-1/+1
to run for 'make all' (This used to be commit e71cd4778b9a872642619452e574f510e2491052)
2007-10-10r12552: Remove use of Test::Harness - we're not printing the result summariesJelmer Vernooij1-1/+2
on success anyway. Instead, call the scripts directly. (This used to be commit a83a38eab29cc289e53b1f9790a61e61d684f547)
2007-10-10r12528: Add seperate proto headers for ntvfs, tdr, smb_server and nbt_server.Jelmer Vernooij1-6/+6
(This used to be commit 87f665a1d5ba74289974bf9d8f9441c162e6f1b1)
2007-10-10r12520: Add support for --help to mkproto.plJelmer Vernooij1-7/+28
Allow the use of {PRIVATE,PUBLIC}_PROTO_HEADER for [SUBSYSTEM] and [LIBRARY] sections in .mk files. Public functions can be marked by adding _PUBLIC_ between their return type and function name. This should eventually make include/proto.h and include/structs.h obsolete. (This used to be commit cdfd20fa17c5c4655689e8611e0106d5716b6995)
2007-10-10r12509: make the output for the buildfarm nicerStefan Metzmacher1-1/+6
metze (This used to be commit f03170cc52d8e196b878a3d3ddd2b8d0e633f487)
2007-10-10r12494: Support loading modules from .so files for most subsystems.Jelmer Vernooij1-1/+1
We now use a different system for initializing the modules for a subsystem. Most subsystems now have an init function that looks something like this: init_module_fn static_init[] = STATIC_AUTH_MODULES; init_module_fn *shared_init = load_samba_modules(NULL, "auth"); run_init_functions(static_init); run_init_functions(shared_init); talloc_free(shared_init); I hope to eliminate the other init functions later on (the init_programname_subsystems; defines). (This used to be commit b6d2ad4ce0a91c4be790dd258820c492ff1787ea)
2007-10-10r12470: Add helper module for pidl testsJelmer Vernooij1-2/+4
Convert other pidl tests to use Test::More and run them from 'make test' (This used to be commit 3a57d29a62112ab654e290ccc985fba7f67664c5)
2007-10-10r12465: Merge Parse::Pidl::Samba4::NDR::Header into ↵Jelmer Vernooij1-1/+1
Parse::Pidl::Samba4::NDR::Parser. Small optimization to avoid including NDR headers multiple times (This used to be commit 6967b9884970b6f1d7617196ab024d401628a13c)
2007-10-10r12464: Add simple IDL parsing tests for pidl using the standard perlJelmer Vernooij2-7/+8
testing framework (Test::Simple, distributed with perl itself). Run these tests from 'make test' (This used to be commit 975d8816db6697dab828941b69a740e3a0a2c272)
2007-10-10r12449: Fix some warningsJelmer Vernooij1-8/+8
(This used to be commit 95f6e49cb897a392c67566b8a0f674a717a1783d)
2007-10-10r12446: Merge mkproto.sh's functionality into mkproto.plJelmer Vernooij2-78/+82
Allow specifying the _PUBLIC_ keyword on functions to indicate a function is public. Public prototypes can now be written to a seperate header, although this functionality is not used yet. (This used to be commit e3466df6dfb62bbf8bee3acfa92996945054c2dd)
2007-10-10r12373: Add RPC-JOIN as a test to always run.Andrew Bartlett1-3/+3
Andrew Bartlett (This used to be commit 42c58d431268dcde9f195bf0c871c1c9ed75cb79)
2007-10-10r12304: split out the wins partner configuration into a seperate ldb.Stefan Metzmacher1-3/+2
now $privatedir/wins_config.ldb contains the wins partners and $lockdir/wins.ldb contains the name records metze (This used to be commit baa4a7a9d4f16adf476846850a63dfbfd51b10b3)
2007-10-10r12287: move the wins.ldb into lockdirStefan Metzmacher1-2/+2
metze (This used to be commit bcf04a49e329af6c2a72c0a9cf037cc4efeeb26f)
2007-10-10r12256: Add helper script for installing pkg-config filesJelmer Vernooij1-0/+16
(This used to be commit c05ffb05c85475669d72afcc183cfb54bd7c73d5)
2007-10-10r12216: Couple of small fixes: reduce include/includes.h a bit, simplify headersJelmer Vernooij1-0/+0
in build/smb_build/, remove unused pstring macros (This used to be commit 432296207400636dd81d0929ec7b1b4cebbcaa62)
2007-10-10r12075: remove NBT-WINSREPLICATION-QUICK test, as we now pass the ↵Stefan Metzmacher1-1/+1
NBT-WINSREPLICATION test metze (This used to be commit 224dab45ab8de9fd4288c473b141541614cde422)
2007-10-10r12009: made the LOCAL-SDDL test less verbose by default, and add it to theAndrew Tridgell1-1/+1
standard tests for the build farm (This used to be commit 9d6d9b6e50dfe5513f332668b860e6a55af3a39c)
2007-10-10r11818: - changed the option torture:echo_TestSleep=yes/no to the more genericAndrew Tridgell3-12/+14
option torture:quick=yes/no. This should be used in all slow tests to enable a quick mode - enabled the test_rpc_quick.sh tests in 'make quicktest' (This used to be commit 180c209c1bb48f6421043de2d0d48c29fc7f9274)
2007-10-10r11659: allow the max runtime for smbtorture and smbd to be controlled on aAndrew Tridgell2-5/+8
per-host basis in the build farm (This used to be commit c8185fe414ef686a52327f420ee81ce09b983c3c)
2007-10-10r11555: - change socket_wrapper to support multiple IP'sStefan Metzmacher2-17/+17
- SOCKET_WRAPPER_DEFAULT_IFACE=X specifies the default interface for 127.0.0.X - we now use multiple interfaces for smbtorture in make test 127.0.0.26-127.0.0.31 - and 127.0.0.1 only for smbd the are more work needed for better support for broacast messages... but this is enough for the winsrepl tests metze (This used to be commit dbd01110d1a3e0f5914ae8d156723d6d6edf160c)
2007-10-10r11503: be quite...Stefan Metzmacher1-1/+1
metze (This used to be commit e992119bf3a7004c095214b3279c78e59f2c5e2b)
2007-10-10r11489: add the one replication cycle test to NBT-WINSREPLICATION-QUICKStefan Metzmacher2-1/+21
metze (This used to be commit fc53eab2f1bdae471ee68c4b67f57b1eb0821f61)
2007-10-10r11442: Don't use BASE-NEGNOWAIT any more. It is a mostly meaningless test.Andrew Bartlett1-2/+2
Andrew Bartlett (This used to be commit c105112902da45ce8ba9f70bf240dd8201f6fd2c)
2007-10-10r11372: Now RPC-SAMLOGON works, place it into the default 'make test'.Andrew Bartlett1-14/+14
Andrew Bartlett (This used to be commit 381c4f9fef00cd65ebcbf41ab0cf62fd69ffc8cf)
2007-10-10r11303: Support defining and installing public headers for libraries.Jelmer Vernooij4-0/+122
Support installing libraries. Get rid of pkg-config file (will be autogenerated later on). (This used to be commit b4745032a2c55752c527026feb221ccc3dce10c8)
2007-10-10r11245: Hopefully fix heimdal build on some hostsJelmer Vernooij1-1/+1
Fix manpage locations (This used to be commit 33c71c0fb13b55741f1b1fffc8945ccda6f3bf51)
2007-10-10r11214: Remove scons files (see ↵Jelmer Vernooij1-2/+0
http://lists.samba.org/archive/samba-technical/2005-October/043443.html) (This used to be commit 7fffc5c9178158249be632ac0ca179c13bd1f98f)