summaryrefslogtreecommitdiff
path: root/source4/script/tests/test_rpc.sh
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r12858: This moves the libnet_LookupPdc code to use a GetDC request to findAndrew Bartlett1-3/+3
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-10r12373: Add RPC-JOIN as a test to always run.Andrew Bartlett1-3/+3
Andrew Bartlett (This used to be commit 42c58d431268dcde9f195bf0c871c1c9ed75cb79)
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-10r8498: more test suite speedups. It's down to 5 minutes on my box nowAndrew Tridgell1-1/+1
(This used to be commit 82f8ad16af52aeb0ba5f831ea5c9960f90e8ae8f)
2007-10-10r7919: use more portable shell syntax for MALLOC_CHECK_Andrew Tridgell1-4/+0
(This used to be commit 694882ffa62ae88e43e78e8e496720575630e523)
2007-10-10r7684: Add a test aimed at checking we have agreement between client andAndrew Bartlett1-0/+18
server as to the CIFS session key. JRA had pain with this being wrong against NT4 (without spnego), hence this specific test. Andrew Bartlett (This used to be commit 47f433708ba38db9bf569567cc048e65f2786ebe)
2007-10-10r7495: used --maximum-runtime=300 for each smbtorture call, to prevent itAndrew Tridgell1-1/+1
running too long (This used to be commit 3d70755abfb7764379d648e9bc1697ae9289d02b)
2007-10-10r7475: removed RPC-SAMLOGON test until we get a lighter version of it. It isAndrew Tridgell1-3/+3
chewing far too much cpu, which is unfair on our volunteer systems andrew, sorry about this, I think we need RPC-SAMLOGON-FULL, and make RPC-SAMLOGON only do a basic test (This used to be commit 71bf781227c020f1d22382a5417999dfbda23c1b)
2007-10-10r7466: add RPC-SPOOLSS to the supported testsStefan Metzmacher1-1/+1
metze (This used to be commit 3c1d2364450a4f157e5f19c01295a8575adebaff)
2007-10-10r7421: - move test* functions to a seperate fileStefan Metzmacher1-25/+4
- print build farm style output when RUN_FROM_BUILD_FARM=yes metze (This used to be commit 7e567a6b69d05fa180bb4384b503969f79f18068)
2007-10-10r7402: - don't stop after a failed testStefan Metzmacher1-4/+17
- some more fixes metze (This used to be commit e90b83d03887ed713745280267caa6f2fd549e0f)
2007-10-10r6010: Change the testing order, so we test all transports for each bindingAndrew Bartlett1-2/+2
option, rather than all binding options for each transport. This means that we get to most of the tests earlier, with at least some binding options. (And allows us to have some confidence before waiting for an RPC-SAMR test to finish with bigendian). Andrew Bartlett (This used to be commit 5c3e4df804e38037d0337e8ef288127d6cdda28a)
2007-10-10r4953: - enable easy valgrind use in all our test scriptsAndrew Tridgell1-1/+5
- when valgrind isn't set, then setup MALLOC_CHECK_ to abort on error (This used to be commit 21e629e80e5b320616135d3f3641801dc29594e6)
2007-10-10r4693: Add another test (RPC-MULTIBIND) that should always pass.Andrew Bartlett1-3/+3
Andrew Bartlett (This used to be commit 279e4de307b02bec5b64de765fbbb82c0ffdc5e4)
2007-10-10r4664: SPNEGO auth in our rpc server now works, so add it to the battery ofAndrew Tridgell1-1/+1
tests in test_rpc.sh (This used to be commit 69ffbd4cedaddd71fad9bab2375dc634479c0ed6)
2007-10-10r4643: RPC-ALTERCONTEXT now passesAndrew Tridgell1-3/+3
(This used to be commit 153e068711623af94f9a53b20d114b254d42c2a3)
2007-10-10r4566: Fix Samba4 to pass it's own RPC-SAMLOGON torture test.Andrew Bartlett1-3/+3
Include RPC-SAMLOGON in the list of tests expected to pass Remove silly extra loops from the RPC-SAMLOGON test, which mostly just slowed htings down. Andrew Bartlett (This used to be commit 518ca9fb695b0f9d480122a74a2159f7f17a3219)
2007-10-10r4560: - fixed crash bugs in the RPC-SCHANNEL and RPC-NETLOGON testsAndrew Tridgell1-1/+1
- disabled the async netlogon tests for now until we better understand async rpc - added a test_w2k3.sh script that runs rpc tests that a w2k3 DC should pass. This is useful for regression testing when PIDL changes are made. (This used to be commit f7d4d3db489ad79457de70a85ad990159f6e74f8)
2007-10-10r4462: - enable DSSETUP on ncalrpcAndrew Tridgell1-1/+8
- add DSSETUP to the list of tests run in test_rpc.sh (This used to be commit 73c3cdc8ed8dafd544ce4dcac9141124d2b85670)
2007-10-10r3592: auto-cleanup the test.$$ log files in these test scripts on control-CAndrew Tridgell1-0/+1
(This used to be commit a07bca1707857a33d50172432336b90e3da8c854)
2007-10-10r3393: added test_rpc.sh. The idea is that this script will test all theAndrew Tridgell1-0/+40
RPC-* tests that are expected to pass against Samba4. Currently only RPC-SCHANNEL and RPC-ECHO are in that list, but as we get more working this test will allow us to ensure that they stay working. (This used to be commit d49dfd406ffe57139d8a4679b806c875e7f194ec)