summaryrefslogtreecommitdiff
path: root/source4/torture/libnet
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r18106: Add new samr domain NET tests.Rafal Szczesniak1-0/+2
rafal (This used to be commit 9bc7fb5aead32996656477b33ccc4ab3c2b5bead)
2007-10-10r18105: Fix samr domain open, and implement samr domain close test.Rafal Szczesniak1-5/+82
rafal (This used to be commit 1b8213ba054f7c78c7ff961dd68f85c6c58c48a9)
2007-10-10r18102: Fix close lsa NET test.Rafal Szczesniak1-28/+43
rafal (This used to be commit df230ad0cabfd858e09df7af68b6d5bd4da8ef9d)
2007-10-10r17940: Fix a warning spotted on the buildfarm.Rafal Szczesniak1-1/+1
rafal (This used to be commit b285a34ddd8bf570a060b8c9eb8aee1566317c27)
2007-10-10r17939: Fix compiler warnings spotted on buildfarm.Rafal Szczesniak1-8/+19
rafal (This used to be commit 4803e95c68d8824b5494ee86d626e474d8a0c925)
2007-10-10r17858: Add new libnet domain open tests.Rafal Szczesniak1-0/+289
rafal (This used to be commit c9b0b1fb67855ed3bfd1f34c664275bd7f34ff8c)
2007-10-10r17857: A couple of new tests.Rafal Szczesniak3-0/+90
rafal (This used to be commit 6db488cc6e29704ae2ae17b2875a76ded5d86b88)
2007-10-10r17717: this cried for bugs...and they happened...Stefan Metzmacher1-10/+30
we were passing a struct timeval reference as string, and gcc gives a warning...use C99 style initialisation. is there a special reason why the ACB_NORMAL is passed when the force_password_change is selected? metze (This used to be commit 45061b1b7e76d56d557119eb2f7f6317e104d083)
2007-10-10r17671: Update the tests according to changes in libnet context.Rafal Szczesniak2-7/+8
rafal (This used to be commit 9e7709de62ccb66d312e985fa0846b1004e77d32)
2007-10-10r17538: this function should be static...Stefan Metzmacher1-1/+1
metze (This used to be commit c4387dd3f6d1463d9557ee8923590fa5590b35ff)
2007-10-10r17484: Make last version of the function generating random set of changesRafal Szczesniak1-97/+124
more fair to each of the fields (ie. don't create new code at midnight after a long day...). This will be useful for testing multiple changes at once and verifying correctness. A few testing runs already demostrated some missing pieces. rafal (This used to be commit 809c9cca965841e8bce84f4b4ecf804ce793d807)
2007-10-10r17471: Add a function generating pseudorandom set of changes to testRafal Szczesniak1-10/+126
user modify routines. rafal (This used to be commit dbd34fe08270ac6fbb99733273cf1a3b965209c3)
2007-10-10r17449: Add another field to the test before expanding the whole testRafal Szczesniak1-0/+13
to more complex form. rafal (This used to be commit e68e296cbea5d2a40b56f6dd7d60410e0306b838)
2007-10-10r16900: Nicer display of the test results.Rafal Szczesniak1-2/+10
rafal (This used to be commit bb0e9297b2d0b25866b31937b553434a2dc6aac4)
2007-10-10r16897: Don't pass allocated buffer for returned string as the lookupRafal Szczesniak1-7/+6
function allocates it using memory context. Also, give nicer output of the result of lookup performed. rafal (This used to be commit 1bd5661258dffc01afdb11da50f2da8f0b0b9046)
2007-10-10r16896: Allow to use both binding and unc string to specify host nameRafal Szczesniak1-0/+21
being looked up. rafal (This used to be commit e597e9867f50f495a338bed05cee76ff84fd38b6)
2007-10-10r16533: Perform a cleanup after testing. Also, add changed name argument.Rafal Szczesniak1-0/+7
This test currently triggers internal corruption in ldb database, according to status code returned. I'm investigating win servers behaviour here. rafal (This used to be commit c73f4e11e4747b907dffafed09d354e12307435a)
2007-10-10r16342: Placeholder for a function implementing NET-API-MODIFYUSER test.Rafal Szczesniak2-1/+58
rafal (This used to be commit 82ac02dd18e96312ca15b8f79f6f1e3c330d01de)
2007-10-10r16331: Split out registering of multi fn tests, fix typo in name of pac suite.Jelmer Vernooij1-17/+17
(This used to be commit 9e8574ac6cd38d1ff388f0c9ff37d86b316a431e)
2007-10-10r15939: Add tests for userinfo call with username argument providedRafal Szczesniak1-4/+41
which enables optional stage resolving username to a rid. rafal (This used to be commit f57a8ace6f55174a30f42a7c2cb01d6917c07be7)
2007-10-10r15921: Include new headers.Rafal Szczesniak2-2/+0
rafal (This used to be commit a528b64054551c780bd546c92edf189409fa358b)
2007-10-10r15898: use d_printf() in some more places to fix more torture seg faults onAndrew Tridgell1-23/+23
solaris (This used to be commit dd1ef82560c62c8c10e9d43b8d1d68512fe0aae5)
2007-10-10r15897: switch to d_printf() in the libnet_share test, and neaten up the codeAndrew Tridgell1-20/+25
a bit using local variables. This should fix a crash on solaris. (This used to be commit c088654e34caf99569f25899733dac9a42197990)
2007-10-10r15787: NET-API-CREATEUSER was crashing for me because of this uninitialized ↵Simo Sorce1-0/+1
value... now it still does not work (auth failure ?!) but at least it does not crash (This used to be commit 43d9bfeb22787a2d65ec00b948d51ad3321cd6fd)
2007-10-10r15784: Redesign of NET-API-RPCCONNECT tests to cover more cases of usage.Rafal Szczesniak2-76/+136
Right now, each level of libnet_RpcConnect can be tested with correct and incorrect credentials (testing against expected nt status). Various transports can be tested on NET-API-RPCCONN-BIND test which does testing on explicitly passed binding string. Tested services include LSA, SAMR, SRVSVC at the moment. rafal (This used to be commit e64084a39dca99915a2b6bdab175e0f5fdd571b4)
2007-10-10r15664: Add NET-API-DELETEUSER test for libnet_DeleteUser function.Rafal Szczesniak2-0/+165
Only the sync version right now. rafal (This used to be commit 7b5ebf93923fc1b33c2f3f8933a35f35f7d8a1e5)
2007-10-10r15626: Modify the tests to fit them in current changes in libnetRafal Szczesniak3-13/+54
functions. rafal (This used to be commit 849e3eee9476100d629be318610369662a114dd0)
2007-10-10r15436: Add test for LIBNET_RPC_CONNECT_DC_INFO level. Display receivedRafal Szczesniak1-0/+36
information. rafal (This used to be commit 76d965b0b04496ae959ba6f13d748c6dfb858591)
2007-10-10r15328: Move some functions around, remove dependencies.Jelmer Vernooij1-1/+0
Remove some autogenerated headers (which had prototypes now autogenerated by pidl) Remove ndr_security.h from a few places - it's no longer necessary (This used to be commit c19c2b51d3e1ad347120b06a22bda5ec586c22e8)
2007-10-10r14860: create libcli/security/security.hStefan Metzmacher1-1/+1
metze (This used to be commit 9ec706238c173992dc938d537bdf1103bf519dbf)
2007-10-10r14720: Add torture_context argument to all torture testsJelmer Vernooij7-12/+15
(This used to be commit 3c7a5ce29108dd82210dc3e1f00414f545949e1d)
2007-10-10r14542: Remove librpc, libndr and libnbt from includes.hJelmer Vernooij2-0/+2
(This used to be commit 51b4270513752d2eafbe77f9de598de16ef84a1f)
2007-10-10r14524: Make TORTURE_NET a separate moduleJelmer Vernooij1-0/+41
Add new header for torture utility functions, so torture.h doesn't need to depend on the SMB libraries (This used to be commit ab162bcafc666f226332d4678b0875139a0d65c2)
2007-10-10r14470: Remove some unnecessary headers.Jelmer Vernooij4-4/+0
(This used to be commit f7312dab3b9aba2b2b82e8a6e0c483a32a03a63a)
2007-10-10r14464: Don't include ndr_BASENAME.h files unless strictly required, insteadJelmer Vernooij5-0/+7
try to include just the BASENAME.h files (containing only structs) (This used to be commit 3dd477ca5147f28a962b8437e2611a8222d706bd)
2007-10-10r14402: Generate seperate headers for RPC client functions.Jelmer Vernooij5-0/+5
(This used to be commit 7054ebf0249930843a2baf4d023ae8f62cedb109)
2007-10-10r14379: Build torture/rpc/ as a seperate smbtorture module. Move helperJelmer Vernooij4-4/+4
functions for rpc out of torture/torture.c (This used to be commit 1d2d970f3b8aef3f36c2befb94b5dd72c0086639)
2007-10-10r13924: Split more prototypes out of include/proto.h + initial work on headerJelmer Vernooij1-0/+1
file dependencies (This used to be commit 122835876748a3eaf5e8d31ad1abddab9acb8781)
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-10r12696: Reduce the size of include/structs.hJelmer Vernooij3-3/+0
(This used to be commit 63917616016133c623fc6ff59454bc313ee7dd8f)
2007-10-10r12693: Move core data structures out of smb.h into core.hJelmer Vernooij4-0/+4
torture prototypes in seperate header (This used to be commit 73610639b23ca3743077193fa0b1de7c7f65944d)
2007-10-10r12608: Remove some unused #include lines.Jelmer Vernooij6-8/+0
(This used to be commit 70e7449318aa0e9d2639c76730a7d1683b2f4981)
2007-10-10r12542: Move some more prototypes out to seperate headersJelmer Vernooij3-0/+3
(This used to be commit 0aca5fd5130d980d07398f3291d294202aefe3c2)
2007-10-10r12510: Change the DCE/RPC interfaces to take a pointer to aJelmer Vernooij5-26/+10
dcerpc_interface_table struct rather then a tuple of interface name, UUID and version. This removes the requirement for having a global list of DCE/RPC interfaces, except for these parts of the code that use that list explicitly (ndrdump and the scanner torture test). This should also allow us to remove the hack that put the authservice parameter in the dcerpc_binding struct as it can now be read directly from dcerpc_interface_table. I will now modify some of these functions to take a dcerpc_syntax_id structure rather then a full dcerpc_interface_table. (This used to be commit 8aae0f168e54c01d0866ad6e0da141dbd828574f)
2007-10-10r11527: Has this ever been run?Volker Lendecke1-0/+1
(This used to be commit 419b28d02d6c5a03bd33eaeabf1b42bfab9155dd)
2007-10-10r10504: - seperate implementation specific stuff, from the generic compositeStefan Metzmacher6-7/+1
stuff. - don't use SMBCLI_REQUEST_* state's in the genreic composite stuff - move monitor_fn to libnet. NOTE: I have maybe found some bugs, in code that is dirrectly in DONE or ERROR state in the _send() function. I haven't fixed this bugs in this commit! We may need some composite_trigger_*() functions or so. And maybe some other generic helper functions... metze (This used to be commit 4527815a0a9b96e460f301cb1f0c0b3964c166fc)
2007-10-10r9884: Fix compiler warning.Tim Potter1-1/+1
(This used to be commit 6e30dd8a50e9afc4942cd925e6e0266d960923dd)
2007-10-10r9090: Another field in usermod function - account flags.Rafal Szczesniak1-9/+9
rafal (This used to be commit f0d51b78c040937bd27857c063fae215a3f0f465)