summaryrefslogtreecommitdiff
path: root/source4/torture
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r7294: implemented the irpc messaging system. This is the core of theAndrew Tridgell4-1/+95
management system I proposed on samba-technical a couple of days ago. Essentially it is a very lightweight way for any code in Samba to make IDL based rpc calls to anywhere else in the code, without the client or server having to go to the trouble of setting up a full rpc service. It can be used with any of our existing IDL, but I expect it will mostly be used for a new set of Samba specific management calls. The LOCAL-IRPC torture test demonstrates how it can be used by calling the echo_AddOne() call over this transport. (This used to be commit 3d589a09954eb8b318f567e1150b0c27412fb942)
2007-10-10r7195: - Fix echo pipeJelmer Vernooij1-6/+3
- Don't allocate strings - Give higher preference to the [out] part of variables when they are being used by another [out] variable. Also make sure that [in] variables never use [out] variables (i.e. switch_is() on an [in] variable can no longer use an [out] variable). (This used to be commit 837c83d77a2d1990419c4f3e343616daf8da5799)
2007-10-10r7180: Missed fixing the shutdown for 1 process...Jeremy Allison1-1/+6
Jeremy. (This used to be commit 997e1405cbd4535e18c4729c77ec5de4237f78d7)
2007-10-10r7178: If we're using one process in NETBENCH simultion only open oneJeremy Allison1-5/+14
connection to the server. Makes valgrind/cachegrind on the server easier. Jeremy. (This used to be commit fba9462591864a4efcfae653e1cef81f08299f92)
2007-10-10r7159: Improve the messages from pidl's validator module.Jelmer Vernooij1-2/+2
Change the IDL file for the echo interface to match the one we use for Windows. The only thing different between the two files currently is the names of the scalar types and the handling of strings. (This used to be commit b264c61061d222347919837600adf809fbadfb13)
2007-10-10r7120: make use of the new 'noopnum' property and get rid of handwrittenStefan Metzmacher1-18/+18
parsing code for the spoolss_Enum* functions, there still same handwritten code needed but just to stack the autogenerated code into the correct way metze (This used to be commit 155d18e8b78afebfb4a84e43e3b4d8fc6c9cc4e2)
2007-10-10r7117: Move more manpages to the source repositoryJelmer Vernooij4-0/+626
(This used to be commit b00355bf0ce241a1223dbdbb2f3b5059a2bb4204)
2007-10-10r6975: Test opening filenames with control characters in failsJeremy Allison1-0/+26
with INVALID_NAME. Jeremy. (This used to be commit ec72d7d614caf9504d98c96c86906ed598f8be78)
2007-10-10r6961: Add RPC-WINREG to list of win2k3 testsJelmer Vernooij1-17/+26
Fix bug in test for QueryMultipleValues Ignore errors from CreateKey() and GetKeySecurity() for now (This used to be commit 7b6b8d6b34de01d2585b23ddb994d8e7403a21f6)
2007-10-10r6951: Fix all calls to setup_logging() that use 'True' as a second argument.Tim Potter1-1/+1
In Samba4 this is now an enum. Possibly by accident, True just happens to map to the right value in this case. (-: (This used to be commit affacc539864435cbc749a4c1a6b848c61b7182b)
2007-10-10r6933: Add a couple of helper functions for creating nbt names.Tim Potter9-34/+11
(This used to be commit b896daf11c3efb1b3ca939575da9dab82b395777)
2007-10-10r6907: Unixinfo for samba4, not activated by default.Volker Lendecke3-1/+94
Volker (This used to be commit 81ddffde369c5b5e91bc130510f43c6841a789c4)
2007-10-10r6875: added a BENCH-CLDAP test. Speed of the cldap server isn't all that ↵Andrew Tridgell3-1/+132
important, but it does help find memory leaks (and in fact, there was one, fixed in next commit) (This used to be commit ab19e38c236366f2a93ea1f44911c56519779c9d)
2007-10-10r6869: removed completely bogus BASE-RW2 testAndrew Tridgell1-113/+0
(This used to be commit b3dd5c326efef2165106f719573202325ee63e02)
2007-10-10r6863: lib-friendlier names + fix some dependenciesJelmer Vernooij1-1/+1
(This used to be commit cab81a51bfd435b54e6f0d5a308aaf6828d38c00)
2007-10-10r6847: Fix some unused variable warnings in the libnet torture test.Tim Potter2-2/+0
(This used to be commit 448795607f271bb00d5f9e1c5a6cad8df75c8b6a)
2007-10-10r6839: Add support for building subsystems as shared libraries. This can beJelmer Vernooij1-3/+3
done by setting: OUTPUT_TYPE = SHARED_LIBRARY in the [SUBSYSTEM::...] section belonging to a subsystem. The idea is to allow multiple values to OUTPUT_TYPE simultaneously (e.g. OUTPUT_TYPE = SHARED_LIBRARY, STATIC_LIBRARY, OBJLIST ) (This used to be commit b9d0ae93ba86fec0115f58e7940b2a6c908bc809)
2007-10-10r6816: - fixed debug display of ndr netlogon unionAndrew Tridgell1-2/+5
- send a username when scanning to make structure elements clearer (This used to be commit 7d19eb9433b615fdf789cb07aeb331df92b05abd)
2007-10-10r6799: Remove a rudundent variable from the context structure - we can figureAndrew Bartlett1-4/+10
this out by asking GENSEC, just like everybody else. Andrew Bartlett (This used to be commit 0268d6c46b73bf2097247639df2532b5e8591531)
2007-10-10r6795: Make some functions static and remove some unused ones.Jelmer Vernooij3-25/+6
(This used to be commit 46509eb89980bfe6dabd71264d570ea356ee5a22)
2007-10-10r6793: Move auth_sam to use the dnsDomain rather than theAndrew Bartlett1-0/+6
soon-to-be-depricated 'realm'. Add torture test for this behaviour. Andrew Bartlet (This used to be commit 6b9020661a13fd5ec6c5d1e21344d9f654978987)
2007-10-10r6776: make the cldap torture test not dependent on the realm being setAndrew Tridgell1-27/+54
correctly - it gets the realm from an initial no-attribute search (This used to be commit 52d10c8d99521f9dd02891a30688472d96860aef)
2007-10-10r6766: some more cldap tests ...Andrew Tridgell1-2/+23
my best guess now is that w2k3 converts the & in the cldap query to an | for the ldap search. at least it behaves roughly like that. (This used to be commit 1d6ab9aaefee71e3d0f87c1afae8ccdbae1f0e04)
2007-10-10r6765: expanded the cldap test suite to test the usage of the DomainGuid,Andrew Tridgell1-5/+60
AAC, and User attributes in cldap netlogon queries interestingly, while WinXP generated cldap filters with these set, the w2k3 cldap server seems to completely ignore them, so I didn't need to alter our cldap server at all to pass the test :-) (This used to be commit 177c8becd2051c9d1f261358baf4b85ca89700d8)
2007-10-10r6732: - move sasl send recv code to the ldap libStefan Metzmacher2-152/+31
- support 'modrdn' ldif metze (This used to be commit b6a1734699953964fcde6fe6ea7048496492eb33)
2007-10-10r6720: added support for the remaining 2 types of CLDAP netlogonAndrew Tridgell1-13/+7
response. To work around the fact that the type of the returned data is not encoded in the packet, this required adding ndr_pull_union_blob() which allows us to pull a blob into a union with a specified switch value, in this case the switch value comes from the calling NtVer field. (This used to be commit bd27e626c27be72913d1a1569ee6e2e2711df84e)
2007-10-10r6717: - torture test of async useradd function and monitor messages.Rafal Szczesniak2-1/+59
- make message handling functions static. rafal (This used to be commit 96446e5e1e53eb519cbfeb64d0dd2f4052d75b0f)
2007-10-10r6694: a simple CLDAP torture testAndrew Tridgell3-2/+85
interestingly, w2k3 seems to have 4 different varients of the netlogon cldap response. We decode two of them so far. The other two are tricky as they aren't distinguished by a command code, they use the same command codes (0x13 and 0x17) but have quite a different format. Very strange! (This used to be commit 58f1c39282e281450fe94ceab7ca0a53ec7172e1)
2007-10-10r6676: Fix unused variable.Tim Potter1-2/+0
(This used to be commit 699e0adf4cba1473b48ff38c8043dbc36bc43560)
2007-10-10r6675: Fix printf warning.Tim Potter1-1/+1
(This used to be commit 513fc9c24493e007a9e4d034ca05657897a5eac2)
2007-10-10r6674: Fix some compiler warnings.Tim Potter1-4/+1
(This used to be commit c2c563bf985a8fdd28beacb3dbdf650c11af2fa7)
2007-10-10r6637: Test for asynchronous function and monitor messages.Rafal Szczesniak1-2/+81
rafal (This used to be commit 4ac3c145fccc203323e3bf8772bccd290a82cf63)
2007-10-10r6603: More work on the samdump puzzle. This implements a function pointerAndrew Bartlett1-1/+1
callback interface, so we can start dumping into more than just stdout soon. Also use the enums instead of uint32 where possible and valid. Andrew Bartlett (This used to be commit f0c67a4a24dbd7fc32fc864d61a21eeee587178e)
2007-10-10r6582: Remove the hack that metze needed because Samba4 didn't have a samdumpAndrew Bartlett1-9/+0
command. Andrew Bartlett (This used to be commit adb5a3093ea3ab82e01f488ea780106fee98733b)
2007-10-10r6581: improved the error message for RAW-LOCK timeoutsAndrew Tridgell1-1/+3
(This used to be commit 13ab07214e33e16d873befb3c34ed149d11a09ab)
2007-10-10r6565: Cludge, cludge, cludge...Andrew Bartlett3-11/+27
We need to pass the 'secure channel type' to the NETLOGON layer, which must match the account type. (Yes, jelmer objects to this inclusion of the kitchen sink ;-) Andrew Bartlett (This used to be commit 8ee208a926d2b15fdc42753b1f9ee586564c6248)
2007-10-10r6563: - fixed the local messaging torture test not to fork, as this causesAndrew Tridgell1-14/+15
trouble with the epoll() based event handling - changes the test to use a local directory instead of the prefix lock directory, so the LOCAL-MESSAGING test can run as non-root even when the lock directory is not writeable (This used to be commit 079e1f4e85832f8d14ac385511ff67473e139ca1)
2007-10-10r6556: added BENCH-RPC test, useful for simple rpc load testingAndrew Tridgell3-1/+123
(This used to be commit d1e0b7a2e3078c9cc1baff2fd17222ebae94ada7)
2007-10-10r6544: Use common structures between SAMR, NETLGON and the Krb5 PAC.Andrew Bartlett2-2/+47
Fill out the group list for the SamLogon reply, so clients get the supplementary groups. Andrew Bartlett (This used to be commit d9c31e60a72c345e3a23a7eb742906bcfc18721c)
2007-10-10r6531: fixed gentest with new credentials codeAndrew Tridgell1-7/+16
(This used to be commit 3e610e3952867658a59424301a6ef0573e0a0c1f)
2007-10-10r6529: fixed locktest with new credentials codeAndrew Tridgell1-8/+15
(This used to be commit 70b4a687c01a05b752438f39146ad0a240c976d5)
2007-10-10r6524: Fix the error we print when the RPC-ECHO test fails.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit 4fc2a056cd38de7b3e2bc972958b5c104ba57ba7)
2007-10-10r6523: Another string that isn't filled in. I wonder why this is, but forAndrew Bartlett1-1/+4
now don't fail the test. Andrew Bartlett (This used to be commit 437aabf15ef7c5eead4bec45eb7e10a77f392b84)
2007-10-10r6509: fixed a crash bug found by a-jutley@microsoft.com in RPC-RAP testAndrew Tridgell1-8/+14
(the call freed the memory it used to fill in the result structure) (This used to be commit b352ef1a4282ddadf85e635112ff51dc3222a854)
2007-10-10r6468: Fix LOCAL-NTLMSSP test with new NTLMSSP structure.Andrew Bartlett1-15/+12
Andrew Bartlett (This used to be commit 8d503fb153c25580c06dd13ca83df47f9e434c7a)
2007-10-10r6458: Split up NTLMSSP into a new directory, and into seperate files for theAndrew Bartlett1-0/+1
client and server logic code. In future, this may allow us to build only the NTLMSSP client, and not the server, but in the short-term, it allows me greater sainity in moving around these files. Andrew Bartlett (This used to be commit 2f22841c6753e3d5816c12bd463b71f74e1d8796)
2007-10-10r6454: Start to migrate NTLMSSP away from it's own API to just use GENSEC.Andrew Bartlett1-7/+38
The aim here is to remove the extra layer of abstraction, and to then use the credentials code directly in the NTLMSSP layer. Andrew Bartlett (This used to be commit b14c530dfd3e56975dea7e30aa8d62d4f2827700)
2007-10-10r6451: Ensure we correctly initialise the credentials structure in the ↵Andrew Bartlett1-2/+3
schannel test. Andrew Bartlett (This used to be commit 7e554e31d93c6f0c3968dfcb774b3135573d97b1)
2007-10-10r6432: Restorin previous construction of conditions after a little discussionRafal Szczesniak2-3/+9
with Richard and Andrew. rafal (This used to be commit 400f6d5f87c7a0b49bfd289521a3cf4af2586235)
2007-10-10r6430: Delete existing test account if, for some reason, it hasn't beenRafal Szczesniak1-3/+19
deleted last time running the test. rafal (This used to be commit 91df25a795b3754c9445af6ade53cbc89ec4a545)