summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/dfs.c
AgeCommit message (Collapse)AuthorFilesLines
2010-12-11s4-smbtorture: Make test names lowercase and dot-separated.Jelmer Vernooij1-1/+1
This is consistent with the test names used by selftest, should make the names less confusing and easier to integrate with other tools. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Dec 11 04:16:13 CET 2010 on sn-devel-104
2010-04-14s4:torture/rpc: rename rpc.h => torture_rpc.hStefan Metzmacher1-1/+1
The reason for this is that some systems include <rpc/rpc.h> from within system headers. HP-UX 11.00 does so somewhere deep inside of <shadow.h>. For torture/winbind/struct_based.c <rpc/rpc.h> resolves to torture/rpc/rpc.h and breaks the build. metze
2010-03-19s4-smbtorture: rework RPC-DFS test a bit.Günther Deschner1-210/+195
Guenther
2010-03-12s4:torture/rpc/dfs.c: make use of dcerpc_binding_handle stubsStefan Metzmacher1-56/+58
metze
2009-10-20s4-torture: ran minimal_includes.pl over source4/tortureAndrew Tridgell1-3/+0
This reduces compile time somewhat.
2009-06-19s4-smbtorture: fix test_GetInfoLevel crash bug in RPC-DFS.Günther Deschner1-0/+2
Guenther
2008-04-22Fix more failing tests to pass the event context.Simo Sorce1-2/+2
(This used to be commit d6c5d8baf0c48a6078a47bba33993a841ff526d9)
2008-04-14Fix problems with event context not being the parent.Simo Sorce1-2/+2
(This used to be commit 957c4d893acf9e6db06a3fc3a4687ab6bb238635)
2008-03-28Convert some more files to GPLv3.Andrew Kroeger1-1/+1
(This used to be commit ebe5e8399422eb7e2ff4deb546338823e2718907)
2007-12-21r26327: Explicit loadparm_context for RPC client functions.Jelmer Vernooij1-5/+7
(This used to be commit eeb2251d22b3d6e0379444a73af69d1014692b07)
2007-12-21r26249: Remove a couple more uses of global_loadparm.Jelmer Vernooij1-5/+8
(This used to be commit 80a61200508a00d5b16a3e748ce92d54b9fefcd2)
2007-12-21r26111: Fix an uninitialized variableVolker Lendecke1-1/+1
(This used to be commit df52343bc901d40a4cc754b55ddcaf72a1f4d68c)
2007-12-21r25849: Add test for dfs FlushFtTable.Günther Deschner1-0/+42
Guenther (This used to be commit 5a50aae868b4638fb8f76bb6708ebef9808da8e9)
2007-12-21r25848: Add IDL and torture test for dfs_SetDcAddress and dfs_GetDcAddress.Günther Deschner1-0/+75
Guenther (This used to be commit 8fb5d36734cb19dcbcf5e22c43e80db7646e82fa)
2007-12-21r25845: Reformat the dfs test.Günther Deschner1-42/+83
Guenther (This used to be commit 0b20c04557b84a2935bcb032acf25f8e5ec44f77)
2007-12-21r25815: Small DFS idl fixes.Günther Deschner1-2/+2
Guenther (This used to be commit 08a5c3130773c6e6c2339ece56cd5fba213dcbbd)
2007-10-10r25554: Convert last instances of BOOL, True and False to the standard types.Jelmer Vernooij1-64/+64
(This used to be commit 566aa14139510788548a874e9213d91317f83ca9)
2007-10-10r25026: Move param/param.h out of includes.hJelmer Vernooij1-1/+1
(This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
2007-10-10r24751: Run more tests, remove empty testsuites, more small improvements.Jelmer Vernooij1-65/+59
(This used to be commit 2a5a0819eea86ba322434306e062d13893b5722e)
2007-10-10r24557: rename 'dcerpc_table_' -> 'ndr_table_'Stefan Metzmacher1-1/+1
metze (This used to be commit 84651aee81aaabbebf52ffc3fbcbabb2eec6eed5)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell1-3/+2
There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r19339: Merge my 4.0-unittest branch. This adds an API for more fine-grainedJelmer Vernooij1-62/+60
output in the testsuite rather than just True or False for a set of tests. The aim is to use this for: * known failure lists (run all tests and detect tests that started working or started failing). This would allow us to get rid of the RPC-SAMBA3-* tests * nicer torture output * simplification of the testsuite system * compatibility with other unit testing systems * easier usage of smbtorture (being able to run one test and automatically set up the environment for that) This is still a work-in-progress; expect more updates over the next couple of days. (This used to be commit 0eb6097305776325c75081356309115f445a7218)
2007-10-10r18844: Workaround win2k behaviour (which returns WERR_NO_MORE_ITEMS instead ofGünther Deschner1-3/+5
WERR_OK) in the dfs torture test. Guenther (This used to be commit dc1b8a3aae9f00fb7dfb0dc2fdd2ee3647ecebf1)
2007-10-10r18822: Automatically remove a forced dfs standard root creation.Günther Deschner1-30/+30
Guenther (This used to be commit 5af5c1877465092b0682d4f166f6e33511e4a292)
2007-10-10r18821: Correctly name dfs_AddStdRootForced() test.Günther Deschner1-4/+3
Guenther (This used to be commit 0ee08738697bee4fbeebb1e45211d193a6dc7abb)
2007-10-10r18776: Fill in and test dfs_ManagerInitialize().Günther Deschner1-3/+32
Guenther (This used to be commit 3e0e9506b62322cba65d992fc8d783001595e7e7)
2007-10-10r18766: Getting rid of one test_GetManagerVersion() call and fix the build.Günther Deschner1-5/+3
Guenther (This used to be commit dc9045b30c97e676a4d77356d3430f7337089ab5)
2007-10-10r18764: Test all standalone DFS root functions in the torture test.Günther Deschner1-0/+237
Guenther (This used to be commit 54f41ac444b9dd083ca1bd33bc8a2585f3c03344)
2007-10-10r18763: Removing old dfs_Add test, will be replaced with another one soon.Günther Deschner1-35/+0
Guenther (This used to be commit eca9c200849d02006c171b7fe87b85054c26b7a5)
2007-10-10r18741: test dfs_Enum and dfs_EnumEx in the torture test.Günther Deschner1-23/+104
Guenther (This used to be commit de5fe8350d7c5812d4197ad2712275f338e43243)
2007-10-10r18637: Fix the build. Sorry,Günther Deschner1-1/+0
Guenther (This used to be commit d6cc668a6c1dcf45d06a1f666d5341f2a6e7f131)
2007-10-10r18625: dfs_GetManagerVersion() returns a version number, not just an existGünther Deschner1-6/+5
flag. Guenther (This used to be commit 3e42ccc6096198458f66841f91234f670ceb59c4)
2007-10-10r14720: Add torture_context argument to all torture testsJelmer Vernooij1-1/+1
(This used to be commit 3c7a5ce29108dd82210dc3e1f00414f545949e1d)
2007-10-10r14470: Remove some unnecessary headers.Jelmer Vernooij1-1/+0
(This used to be commit f7312dab3b9aba2b2b82e8a6e0c483a32a03a63a)
2007-10-10r14402: Generate seperate headers for RPC client functions.Jelmer Vernooij1-0/+1
(This used to be commit 7054ebf0249930843a2baf4d023ae8f62cedb109)
2007-10-10r14379: Build torture/rpc/ as a seperate smbtorture module. Move helperJelmer Vernooij1-0/+1
functions for rpc out of torture/torture.c (This used to be commit 1d2d970f3b8aef3f36c2befb94b5dd72c0086639)
2007-10-10r12693: Move core data structures out of smb.h into core.hJelmer Vernooij1-0/+1
torture prototypes in seperate header (This used to be commit 73610639b23ca3743077193fa0b1de7c7f65944d)
2007-10-10r12510: Change the DCE/RPC interfaces to take a pointer to aJelmer Vernooij1-3/+1
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-10r5941: Commit this patch much earlier than I would normally prefer, but ↵Andrew Bartlett1-3/+2
metze needs a working tree... The main volume of this patch was what I started working on today: - Cleans up memory handling around DCE/RPC pipes, to have a parent talloc context. - Uses sepereate inner loops for some of the DCE/RPC tests The other and more important part of this patch fixes issues surrounding the new credentials framwork: This makes the struct cli_credentials always a talloc() structure, rather than on the stack. Parts of the cli_credentials code already assumed this. There were other issues, particularly in the DCERPC over SMB handling, as well as little things that had to be tidied up before test_w2k3.sh would start to pass. Andrew Bartlett (This used to be commit 0453f9d05d2e336fba1f85dbf2718d01fa2bf778)
2007-10-10r5037: got rid of all of the TALLOC_DEPRECATED stuff. My apologies for theAndrew Tridgell1-1/+1
large commit. I thought this was worthwhile to get done for consistency. (This used to be commit ec32b22ed5ec224f6324f5e069d15e92e38e15c0)
2007-10-10r3428: switched to using minimal includes for the auto-generated RPC code.Andrew Tridgell1-0/+1
The thing that finally convinced me that minimal includes was worth pursuing for rpc was a compiler (tcc) that failed to build Samba due to reaching internal limits of the size of include files. Also the fact that includes.h.gch was 16MB, which really seems excessive. This patch brings it back to 12M, which is still too large, but better. Note that this patch speeds up compile times for both the pch and non-pch case. This change also includes the addition iof a "depends()" option in our IDL files, allowing you to specify that one IDL file depends on another. This capability was needed for the auto-includes generation. (This used to be commit b8f5fa8ac8e8725f3d321004f0aedf4246fc6b49)
2007-10-10r3324: made the smbtorture code completely warning freeAndrew Tridgell1-3/+3
(This used to be commit 7067bb9b52223cafa28470f264f0b60646a07a01)
2007-10-10r1799: List more uuids. FromJelmer Vernooij1-5/+5
http://www.hsc.fr/ressources/articles/win_net_srv (This used to be commit 8d36dbed8c5bdc82176083b2c6f8d989ae903ba5)
2007-10-10r889: convert samba4 to use [u]int16_t instead of [u]int16Stefan Metzmacher1-4/+4
metze (This used to be commit af6f1f8a01bebbecd99bc8c066519e89966e65e3)
2007-10-10r884: convert samba4 to use [u]int32_t instead of [u]int32Stefan Metzmacher1-3/+3
metze (This used to be commit 0e5517d937a2eb7cf707991d1c7498c1ab456095)
2004-02-03- add 'print' to the DCERPC binding stringsStefan Metzmacher1-2/+0
e.g. ncacn_np:myserver:[samr,sign,print] will now enable the packet debugging and the debugging is not bound anymore to the debuglevel >= 2 in the torture tests - also the dcesrv_remote module now supports debugging of the packets use the 'dcerpc_remote:binding' smb.conf parameter. metze (This used to be commit 40abf3c584efed7f977ddd688ea064540e5a5b13)
2003-11-22a fairly major upgrade to the dcerpc systemAndrew Tridgell1-0/+2
* added a NDR validator. The way it works is that when the DCERPC_DEBUG_VALIDATE_* flags are set the dcerpc system will perform NDR buffer validation. On sending a request the packet is first marshalled, then unmarahslled, then marshalled again, and it is confirmed that the two marshalling results are idential. This ensures that our pull and push routines are absolutely in sync, so that we can be very confident that if a routine works in the client then the corresponding routine must work on the server side. A similar validation is performed on all replies. * a result of this change is that pidl is fussier about the [ref] tag. You can only use it on pointers (which is the only place it makes sense) * fixed a basic alignment bug in the push side of the NDR code * added server side pull/push support. Our dcerpc system is now fully ready to be used on the server side. * fixed the relative offset pointer list. It must be traversed in reverse order on push * added automatic value setting for the size parameter in outgoing SdBuf structures. * expanded the ndr debugging code to always give a message on any failure * fixed the subcontext push code * fixed some memory leaks in smbtorture RPC tests (This used to be commit 8ecf720206a2eef3f8ea7cbdb1f460664a5dba9a)
2003-11-18use the auto-generated UUID, version and name rather than listing themAndrew Tridgell1-1/+4
in the dcerpc core code (This used to be commit 16ffeb7c80bfe7f1bfbfce8c98066e9ddbca7686)
2003-11-18* use the new auto-generated debug code method.Andrew Tridgell1-6/+2
* add a couple more info levels to wkssvc (This used to be commit c69161bdb13745f271b0cfa9a9af349f7a95edc6)
2003-11-17 * add another WERR err codeAndrew Tridgell1-5/+3
* use the top-level function argument printing to show more detail in RPC-* tests (This used to be commit 33bb8785625b1845750f28f2d810e7096afe9f8e)